Comment 31 for bug 159031

Revision history for this message
Bud Maddock (budmaddock) wrote :

My emacs session froze when sshfs disconnected. After reading everything related to this bug and other similar bugs I have found a workaround but not a solution. My system disconnected overnight but did not freeze after logging in with these lines
sudo fusermount -uz /mnt/remote
sudo sshfs -o ServerAliveInterval=15 xx@xx: /mnt/remote
In the morning the remote server did not recieve the changes to the file although they were apparently saved. Mount returned fuse but not sshfs in its table and so these lines were used to reconnect without problems
sudo fusermount -uz /mnt/remote
sudo sshfs -o ServerAliveInterval=15 xx@xx: /mnt/remote -o nonempty
Note that ServerAliveInterval 15 is also in the config file but while it keeps a remote login alive (not overnight however) it does not effect the sshfs system.