Amit Singh posted an entry on his blog that mentioned the MacFUSE project -- the implementation of FUSE for Mac OS X.
Using the references that he mentions, one can have one's SSH account appear as a directory -- making it easy to handle and manage. Here's how...
Steps:
- Download the MacFUSE binaries.
- Once downloaded, install with this command:
Note that you might have to change the version number to match your download.sudo tar -C / -jxvpf fuse-binaries-0.1.0b006.tar.bz2 - Reboot, so that the new kernel extensions are loaded.
- Connect to one's SSH account using the sshfs command.
$ sshfs username@bottlecap.dreamhost.com: $PWD/dream
Remember that the dream directory must exist in your home folder and be owned by you, the user. To unmount the directory once your work is done, use this command:
$ fusermount -u
For example, in my case, I would use fusermount -u $PWD/dream
References:
- Setting up MacFUSE on your Mac OS X system
- File Systems Talk, and MacFUSE
- Filesystem in Userspace
- SSH Filesystem
[robg adds: A variation on this tip was also submitted by yanokwa, who described the ssh mounting process in a bit more detail:
"To use mount a file system using sshfs, use this:
$ mkdir /some/mount/point
You can also use one that already exists, but not in /Volumes. To mount the SSH file system, use this:
sshfs user@host:/some/directory /some/mount/point
-oping_diskarb,volname=volname
There's a how-to wiki on the above-linked MacFUSE site if you need additional assistance. Note that I have not tested this one myself.]

