My favorites | Sign in
Google
                
Search
for
Updated Dec 14, 2008 by singh
Labels: sshfs
MACFUSE_FS_SSHFS  
The SSH File System for MacFUSE

The SSH File System for MacFUSE

NB: You can get a precompiled sshfs binary for your platform from the MacFUSE subversion tree (these require MacFUSE 2.0 or above.)

sshfs-static-leopard.gz

sshfs-static-tiger.gz

Alternatively, here's how you can acquire these binaries using the svn command. (The command sequence shown will leave the binaries in a folder called sshfs-binaries on your Desktop.)

$ cd ~/Desktop
$ svn co http://macfuse.googlecode.com/svn/trunk/filesystems/sshfs/binary sshfs-binaries

These binaries, called sshfs-static-leopard (etc.), are statically linked against glib but dynamically linked against libfuse. If you wish to quickly try out sshfs, you can just install the MacFUSE Core package and use the precompiled statically linked binaries without having to compile anything. You can rename them to sshfs if you so prefer.

NB: If you are running an older version of sshfs, please be sure to upgrade to the latest version available. The latest source patch for sshfs is available in the filesystems/sshfs/ directory of the MacFUSE source tree. Newer versions might have important and useful updates.

Using the Command Line sshfs Program

To use the command line sshfs program, you can do something like:

# Mounting the SSH file system
$ mkdir /some/mount/point # or use one that already exists
$ sshfs user@host:/some/directory /some/mount/point -oauto_cache,reconnect,volname=<volname>

<volname> should be a string you wish to use as the name of the newly mounted volume. If everything went fine, you should see the volume on your Desktop and in the Finder (unless you have disabled remote volumes from showing up in these places).

Once you are done using sshfs, you can unmount the volume either using the eject icon in the Finder or other common user-interface means of ejecting. Alternatively, you can do the following from the command line:

$ umount /some/mount/point

Changelog

sshfs(MacFUSE) 2.2.0 (October 22, 2008)

sshfs(MacFUSE) 0.3.0 (May 7, 2007)

sshfs(MacFUSE) 0.2.0 (April 19, 2007)

sshfs(MacFUSE) 0.1.0 (January 2007)