shellspells beta


sshfs [user@]host:[dir] mountpoint [options]
fusermount -u mountpoint

sshfs (Secure SHell FileSystem) is a filesystem client based on SSH.

This is an amazingly useful utility. There is no end to the power of SSH. It allows you to mount a directory from any machine you can log into using SSH. This has a number of advantages over conventional network filesystems, such as the fact you don't need to be root or export the filesystems explicitly on the remote system. In fact, any directory you can cd to can be mounted.


Mount a directory from the remote host nostramo

# On the client machine:
$ mkdir ~/www
$ sshfs nostramo:/var/waww ~/www


# On the client machine:
$ fusermount -u ~/www

Force unmount, even if resource is busy (lazy unmount)

# On the client machine:
$ fusermount -z -u ~/www