11
8
I'm currently trying to ssh to a colo, after 1 to 2 minutes of inactivity, I get:
superuser@thecolo:~$ Connection to 10.123.45.67 closed by remote host.
Connection to 10.123.45.67 closed.
mylocalmac:~ superuser$
As long as I am typing something in the ssh terminal, the connection is kept. As soon as 1 to 2 min of inactivity has happened, I will get the above message. The machine I'm trying to connect to is a Ubuntu 12.04.1 LTS 64 bit server edition. It's not a physical server but a guest VMware. I'm sshing from a mac terminal.
Please don't confuse this question with similar ones on this site with the keyword ssh_exchange_identification
in it, it's unrelated.
Where do I set the keepalive? On the server or from my mac? Where should I set that value and what's the recommended value? – Thierry Lam – 2012-12-20T15:51:53.810
Keepalive will be on the client... in your case, your Mac. There will be an option somewhere! – Andrew – 2012-12-20T15:57:07.857