sshfs ======================================== Thu 16 Jul 2020 08:38:16 PM EDT sshfs can mount an SSH server like a local filesystem. In some scenarios, sshfs can be as fast as NFS. ``` 🐚 $ sudo apt install sshfs 🐚 $ mkdir ~/mnt/myserver 🐚 $ sshfs sshfs -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3 \ myserver.example.com:/home/paulgorman ~/mnt/myserver ``` Unmount: ``` 🐚 $ fusermount -u ~/mnt/nanook/ ``` The mount is messed up. How can we force an unmount? Kill sshfs, then umount. ``` 🐚 $ killall -9 sshfs 🐚 $ fusermount -u ~/mnt/nanook/ ``` Links ---------------------------------------- - https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh - https://superuser.com/questions/365579/cant-access-folders-mounted-by-sshfs-after-sleep-or-when-connection-lost - https://serverfault.com/questions/6709/sshfs-mount-that-survives-disconnect/#639735