Mount a distant directory over SSH

You need to install the sshfs package :

sudo apt-get install sshfs

Then, just create a local directory and mount your distant one inside :

mkdir ~/my_distant_directory
sshfs [user@]host:[dir] ~/my_distant_directory

To umount it :

fusermount -u ~/my_distant_directory

post a comment