How to mount a folder via ssh - sshfs

Anything that you can access via ssh can be mounted to the filesystem using sshfs.

For a quick test or one-time mount use the command:

sudo sshfs LOGIN@REMOTE-HOST:REMOTE_PATH LOCAL_PATH

For the permanent locations, add it to the /etc/fstab file

$ cat /etc/fstab
...
USERNAME@HOSTNAME:/opt /opt/host/hostname fuse.sshfs noauto,users,allow_other,reconnect    0 0
 
$ mount /opt/host/hostname