2009-02-12

How to Mount a Remote SSH Filesystem using sshfs

Ran across this bit in the Ubuntu Wordpress Blog: How to Mount a Remote SSH Filesystem using sshfs

The sshfs can be used to mount and unmount remote file systems in user space over an SSH tunnel.

The sshfs program was not installed by default.

This program (sshfs) is relate to the FUSE user-space file system architecture.

  1. create /media/<MOUNTPOINTNAME>
  2. chown the newly created directory to belong to the current user
  3. issue 'sshfs user@host:/path /media/<MOUNTPOINTNAME>' to mount the remote filesystem