How to mount remote filesystem with ssh

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