sshfs

This tip is only intended for those who jailbroke their iPhone. This does not apply to unhacked iPhones. Wouldn’t it be convenient if your iPhone’s filesystem could be mounted directly to your desktop? SSHFS, a MacFUSE extension, uses SSH to mount your iPhone wirelessly to your Mac. Once mounted, the iPhone’s entire filesystem is available just like any other drive on your Mac. Here’s how to do it (Mac only).

To perform this little trick, you need to have SSH installed on your iPhone. You can grab OpenSSH from AppTapp (aka Installer.app) on your iPhone. You will need to make sure that logging in via the Terminal actually works before using MacFUSE. The most common problem may be that your key has changed. Terminal will warn you of this when you attempt to log in. If that seems to be your problem, remove the “known_hosts” file from your /username/.ssh directory.

How to:

  • Grab the latest version of MacFUSE from Google Code.

     

  • Get the SSHFS filesystem extension from Google Code as well.
  • Install MacFUSE and reboot your Mac
  • Move sshfs.app to a good spot, perhaps the Applications folder. It doesn’t matter.
  • Launch sshfs.app and give it your iPhone’s IP address and log in using root. You will need to specify that the remote directory is / . If you don’t, things won’t work out.
  • Enter the iPhone’s password. The default for versions 1.0.2 and earlier is dottie. Default for version 1.1.1 is alpine

That’s it, you’re done! The same task can be accomplished using SFTP, but it feels more convenient to have it mounted to the desktop, wouldn’t you say?

你可能感兴趣的:(ssh)