Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've a problem when I lost the wireless network connection after mounting a remote folder with sshfs on Linux. When I lost the connection the shell become frozen, if I open another shell and I try to access to the mounting point also this new shell froze. Is there a workaround?

share|improve this question
up vote 5 down vote accepted

If you attempt to access an SSHFS filesystem where the underlying connection has gone away your requests will hang because the system cannot reach the remote machine to complete the request.

If you are mounting the filesystem with -o reconnect (See the sshfs man page) the system should reconnect on its own. If it does not the only workaround I'm aware of is to force-unmount and remount the filesystem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.