[tor-talk] What is keeping the SSH connection alive?
a.krey at gmx.de
Tue Jul 8 05:30:27 UTC 2014
On Tue, 08 Jul 2014 07:08:50 +0000, Nurmi, Juha wrote:
> The wireless router is keeping the SSH connection alive until I reboot it.
> I don't understand how this is possible.
On a TCP connection (which the SSH connection is) there is no traffic when
neither side is sending anything. If you just disappear from the WLAN, as
far as the other side is concerned, you are still there. This changes...
> The SSH server has the default settings (keep alive settings are commented
...as soon as the other side sends something and then doesn't get the acks;
then the connection times out and the server sees that the client has vanished.
Thus enabling server-side timeout will (quite probably) improve this behaviour.
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
More information about the tor-talk