Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 4 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

 
discard

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.