How to mount remote filesystem with ssh

Warning

This entry was written more than 1 year ago. Please read the article keeping in mind its age.

This tutorial show how to mount remote filesystems on Debian by using sshfs.
  1. Install sshfs package:

    $ sudo apt-get install sshfs
    
  2. Make a mount point:

    $ mkdir /media/remotehome
    
  3. Mount the remote filesystem:

    $ sudo sshfs user@remoteserver:/home/user /media/remotehome
    
  4. Don't forget to unmount the remote filesystem whenyou're done:

    $ umount /media/remotehome
    

Danilo