[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Anti-idle in OpenSSH client?

On Fri, Apr 04, 2003 at 07:58:26PM -0600, mandar@webchat.chatsystems.com wrote:
> KeepAlive doesn't do the trick  unfortunately - it merely sets
> SO_KEEPALIVE on the socket

Right, you have to tweak your system's stack to send KAs faster than
the firewall idle timer.  The default KA timer is 2 hours, most firewalls
default session timer is 20m.

>  and is also not configurable.

Not sure if the above addresses that.  (I think it does.)

> It's
> actually meant as a way for ssh to know when the underlying
> network connection to the remote server has gone away, when set.

Right, but it works OK to keep sessions going over stateful firewalls.

The ssh2 clientalive thing is only configurable on the server in openssh.
I'm sure a patch would be welcome.


Reply to: