One possible solution for dropping ssh connection is to create (or modify) a file name config in your .ssh directory (~/.ssh/config) on your local machine, adding a line
ServerAliveInterval 60
This and plenty of other useful ssh keep-alive tips can be found on The Mad Philosopher's ssh keep-alive post.
For some reason my ssh connections at work stop to respond if I keep them idle for a few minutes. ServerAliveInterval fixed this.
Post a Comment