Do you get annoyed when you have a SSH session open, visit your browser for a while, and then return only to find you were disconnected? So, to avoid this ...
Open /etc/ssh/ssh_config on your (client) computer. Add the following line:
ServerAliveInterval 180
Just remember this -- if you leave SSH open accidentally, anyone else can get on it. Remember to close your session when finished.







