knackforge
January 4, 2012
If you are a Linux-Based developer & had to access servers through SSH, one of the most common issues you'd face is that your SSH connection gets timed out (disconnected) if you don't use it for some time.
To prevent connection timeout, just add the line below to /etc/ssh/ssh_config:
ServerAliveInterval 60
(the above command will PING the server every 60 seconds - so the server will keep the session active).
Have an uninterrupted working session!
Just like how your fellow techies do.
We'd love to talk about how we can work together
Take control of your AWS cloud costs that enables you to grow!