Tag Archive "sshfs"

mounting a remote ssh filesystem

Published December 8th, 2008 by Chad

I ran into a problem yesterday where I wanted to mount a directory from a remote server to my work laptop. I wanted to be able to use applications like eclipse with files that were on other servers.

The solution I found was awesome. With Ubuntu 8.10 I was able to do the following to mount these remote servers and use the filesystem as if it was local.

  1. $ sudo apt-get install sshfs
  2. $ sudo adduser username fuse
  3. $ sudo mkdir /media/remote-server-mount-point
  4. $ sudo chown username /media/remote-server-mount-point
  5. $ sshfs remote-server.com:/desired-mount-directory /media/remote-server-mount-point
That it! Then when you have another server that you want to mount, just repeat steps 3-5 for that server. Pretty cool. You would than access the file on that server from /media/remote-server-mount-point.