FUSE and SSHFS for MacOS X

FUSE is a library initially developed for Linux then ported to FreeBSD and now on MacOS X, allowing implementation of a filesystem in a userspace program.

There are already numerous implementations going on from nfs to bittorent filesystem (see Filesystems on Fuse Wiki).

Yesterday, google employee Amit Singh announced the release of a MacFuse version including, amongst other things, a Virtual file system kernel extension and a patch to sshfs.

So, we now have all elements needed to use sshfs on MacOS X, YEAHH !!!
But wait… what can we do with sshfs ?

The big things about sshfs is it allows you to mount on your local machine a remote directory through ssh. On Mac it means you see the remote directory as an external mount point (on your desktop for example, just like an external hard drive).

Currently (at least on my configuration) the finder does not allow to copy file to the mounted filesystem as it does not recognize correctly the available free space, but it works beautifully with other apps (text editor, etc.) or in the console.

Installation is a little bit fastidious for now, but if you follow carefully the MacFuse installation How-To it should not be infeasible.

When installation is complete, just got to you console and type :

mkdir /Users/yourusername/Desktop/RemoteFS
sshfs remote_username@remotehost:/your/remote/directory /Users/yourusername/Desktop/RemoteFS

This mount the /your/remote/directory on your Desktop as RemoteFS.

To unmount it just use :

umount /Users/yourusername/Desktop/RemoteFS

Fri, 12 Jan 2007 12:04 Posted in

Comment FUSE and SSHFS for MacOS X


RSS