Rocking the blogosphere
Apple Online Store

FUSE/sshfs

FUSE (Filesystem in Userspace) rocks. Case in point, sshfs. - It’s a filesystem client based on the SSH File Transfer Protocol. Since most SSH servers already support this protocol it is very easy to set up: i.e. on the server side there’s nothing to do. On the client side mounting the filesystem is as easy as logging into the server with ssh.

To set it up, just do this once:

$ sudo apt-get install sshfs
$ sudo adduser yourlocalusername fuse
(log out and back in so that it recognizes me as a member of the group "fuse")

Mounting is as easy as:

$ sshfs yourremoteusername@remotehost: mountpoint

To unmount:

$ fusermount -u mountpoint

Tip of the hat to Ubuntonista and of course Miklos Szeredi.

DreamHost

Del.icio.us Digg Reddit Technorati

Possibly related posts

Comments

  1. February 21st, 2006 | 9:56 pm

    See, this just shows you aren’t using emacs enough. Who needs sshfs when you have TRAMP! ;-)

  2. Me
    February 23rd, 2006 | 8:34 pm

    Too bad it doesn’t work on Mac OS X. I’d sure like to mount my Linux server drive that way when I’m out of the office…

  3. st1
    March 10th, 2006 | 12:37 am

    @Christopher Smith.

    Well, TRAMP is a great thing, but it still requires that you send your credentials every time you commit… The workaround for this is to ssh-add, but this still does not beat ls’ing your /mnt/ and seeing the seven servers you’re working on just lying around waiting for you… ;)

  4. frank
    October 4th, 2006 | 1:28 pm

    Can this be installed on a dreamhost account?

  5. Reid
    December 5th, 2006 | 8:06 pm

    emacs sucks

  6. December 21st, 2006 | 10:15 am

    [...] Update - 2006-12-21: These days I use FUSE/sshfs, which does the same thing, and does it in userspace. [...]

  7. Andrei
    February 27th, 2007 | 4:26 pm

    There is support for fuse under mac now.

    check out:
    http://code.google.com/p/macfuse/

Leave a reply

Apple Online Store
Apple Online Store