Ssh montage
# Montage ssh
ssh -p 8622 mathgon@mathgon.zapto.org
sshfs mathgon@192.168.1.111:/home/mathgon/ /home/mathgon/plasmidLocal sshfs -p 8622 mathgon@mathgon.zapto.org:/home/mathgon/ /home/mathgon/plasmidRemote
If you want to permanently mount the remote directory you need to edit the local machine’s /etc/fstab file an add a new mount entry. This way when your system boot up it will automatically mount the remote directory.
To mount a remote directory over SSHFS from /etc/fstab, use fuse.sshfs as the filesystem type.
/etc/fstab
user@host:/remote/dir /local/mountpoint fuse.sshfs defaults 0 0
sshfs#mathgon@mathgon.zapto.org:/home/mathgon /home/mathgon/plasmidRemote fuse port=8622,user,noauto,noatime 0 0