ssh disconnect issue

On a normal day, I keep several console connected with ssh to my servers. Often, I encountered my ssh console frozen or

 Write failed: Broken pipe 

In order to avoid such issue, we can simply add these lines to ~/.ssh/config

Host *
ServerAliveInterval 60

Leave a Comment

Your email address will not be published. Required fields are marked *