[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-talk] What is keeping the SSH connection alive?



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
> out):

...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.

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
-- 
tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk