How do I prevent SSHFS from freezing everything that attempts to access it when the server doesn't answer?
My fstab
looks like this:
user@domain.com:/home /mnt/data-remote fuse.sshfs defaults,_netdev,port=23,uid=0,gid=0,IdentityFile=/etc/remote/user_domain_ed25519,reconnect,ServerAliveInterval=15,ServerAliveCountMax=3,PasswordAuthentication=no 0 0
Once frozen, everything trying to access it freezes as well, so often enough systemctl reboot
doesn't work either and I have to hardware reset a production server.
How do I make sshfs crash or unmount itself if reconnection fails long enough instead of making the entire system unresponsive?