Sunday 7 December 2014

Connection Timed Out

If your jumping in and out of ssh sessions all day at work or home you might 
have come across ssh timeouts in terminal windows.

One way of resolving the issue is to change the timeout configurations from
the ssh client side.
To do this using your favorite editor modify the ssh client configuration file
and add a timeout. The timeout is measured in seconds.
root@home:~ emacs -nw /etc/ssh/ssh_config
add the line:
ServerAliveInterval 60
This example will set the client to send keepalives every 60 seconds.