News for hackers. Stuff that matters.
Re:Sshfs Is Orphaned by ndsipa_pomu on Monday June 20, 2022 @01:47PM (#31813265)
I use it for browsing/copying/editing files on remote servers. Once you've got ssh passwordless authentication set up with the server, then it's easy to add in a systemd automount for it in your /etc/fstab. I like the authentication and encryption compared to NFS though it is slower, so more for accessing specific files.

Example /etc/fstab line:

root@remote:/ /mnt/sshfs/remote fuse.sshfs noauto,x-systemd.automount,_netdev,user,idmap=user,follow_symlinks,reconnect,transform_symlinks,identityfile=/root/.ssh/id_rsa,allow_other,default_permissions,uid=1000,gid=1000

Re:Sshfs Is Orphaned by catdog on Monday June 20, 2022 @04:25PM (#31815412)
I usually add sth. like

ServerAliveCountMax=5,ServerAliveInterval=2,ConnectTimeout=2

to avoid it hanging for too long if the network goes away, works like a charm.