How do I transfer files to / from my iPhone with SSH (Mac / Windows instructions)?

How do I transfer files to / from my iPhone with SSH (Mac / Windows instructions)?

You can transfer files between your iPhone and computer using SSH with free software. Assuming your iPhone is already jailbroken and has Cydia installed, follow these instructions to transfer files using SSH.

1. Open Cydia and navigate to Sections -> Networking -> OpenSSH
2. If there's a green check mark next to OpenSSH the package is already installed. If not, then install OpenSSH.
3. Find your iPhone's IP address.
4. On Windows, you must install an SFTP client for your computer. One example of a free SFTP client is WinSCP. Once installed run the program and open a new connection.
5. On Mac OS X, files can be transferred using the command line in Terminal or an SFTP client can be installed. One example of a free SFTP client is Fugu. Once installed run the program and open a new connection.
6. The hostname is your iPhone's IP address. The username is root. Password is alpine (unless you have already changed the default root password).
7. Once connected the folders and files in the iPhone OS and on your computer will be visible. Files can be transferred to and from the device by dragging and dropping icons.

Comments

You can use the software. It can can help Mac iPhone users to transfer photos, videos, music from iPhone to Mac, iPhone to iTunes for backup. And with it you can also share your favorite videos, music, images to your friends's iPhone/iPhone 3G/iPhone 4, and even copy your Mac local filesd to iPhone/iPod easily without iTunes.
http://software.bigbigsoft.com/iphone-to-mac-transfer

For a Jailbroken iPhone, this may be a good solution, but if it is not a jailbroken one, transferring sometimes should be a little difficult, for example, now iTunes supports sync songs to iPhone, but doesn't support transferring iPhone music back to iTunes. And now I have to use some transfer tool, such as AnyTrans, https://www.imobie.com/anytrans/, to get files between my device and pc.

Here is the application I used: MobiKin Assistant for iOS, a good alternative for iTunes, can helop manage iOS files on PC.