Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This is just a quick note that I want to share with others. It is about the problem that I encountered with my office machine. It was hanging continuously when ssh mount was used. The main problem is, as I assumed, the termination of ssh session, which caused the sshfs not to respond.

The solution for this issue is the ServerAliveInterval 60 directive in /etc/ssh/ssh_config file.

Hope this someone help!

share|improve this question
    
Please split your solution into an answer by clicking the ~"Answer your own question" below. –  Oli Oct 25 '13 at 10:42
    
I don't understand why is the negative thumb. This is the problem which may occur on any default setup of e.g. Linux Mint or any *buntu. –  Borivoje Petrovic Oct 26 '13 at 11:20
add comment

1 Answer

Solution for the above problem is to fire the terminal and enter sudo nano /etc/ssh/ssh_config

Add at the end of the file: ServerAliveInterval 60

Save and exit. Restart ssh with sudo service ssh restart

share|improve this answer
add comment

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.