- Instalace
sudo apt-get install sshfs
- Připojení vzdálené složky
sshfs <:vzdálený_adresář> -o reconnect -o transform_symlinks -o follow_symlinks -o uid=1000 -o workaround=rename -o allow_other
- Odpojení vzádlené složky
fusermount -u
Example of synamic mounting to the home directory:
sshfs root@remote-server.com:/folder ~/my-mount-point -o reconnect -o transform_symlinks -o follow_symlinks -o uid=1000 -o workaround=rename
Example of mounting in /etc/fstab:
user@remote-server.com/folder /mount/point fuse.sshfs noauto,x-systemd.automount,_netdev,users,idmap=user,IdentityFile=/home/user/.ssh/id_rsa,allow_other,reconnect 0 0