SSHFS is a simple way to mount remote filesystems accessible via SSH.
yum install sshfs
sudo apt-get update sudo apt-get install sshfs
Use sudo
as necessary on Ubuntu/Debian.
sshfs root@<hostname or IP>:/path/to/mount /mount/point/
Example mounting as a regular user on a non-standard SSH port:
The regular user must have write privileges to the mountpoint.
sudo mkdir /mnt/www sudo chmod 777 /mnt/www sshfs -p 2222 root@www.yourdomain.tld:/home /mnt/www/
Dismount the remote filesystem:
umount /mnt/www/
or
sudo umount /mnt/www/