1
I'm having problem that my network router reboots occasionally and because of that my ssh connection via terminal to my Ubuntu server is ended. The internet connection is just temporary disrupted and don't want to processes I'm running in the terminal are killed.
On my client ~/.ssh/config I have:
TCPKeepAlive yes
ServerAliveCountMax 10
ServerAliveInterval 5
But tuning of the above parameters does not help. The server sshd has default ubuntu parameters.
How to setup ssh on client (Mac OS in my case) and sshd on server (Ubuntu in my case) so that my ssh sessions survive reboot of router?
Thanks!
possible duplicate of SSH tunnel in Ubuntu
– dtmland – 2013-07-26T22:42:06.253Related: How can I logout an open, remote SSH session? – Breakthrough – 2013-07-31T17:42:53.687