Idle SSH session disconnects

Jim Cunning jcunning at cts.com
Sat Aug 31 07:26:47 EST 2002


On Fri, 30 Aug 2002, Peter Stuge wrote:

> On Fri, Aug 30, 2002 at 01:33:55PM -0700, Jim Cunning wrote:
> > Can anyone help explain this situation?
>
> Are both client and server Linux boxes?  If some other less robust TCP/IP
> stack is involved this might be the cause for connectivity loss.
>
> Have you tried playing with KeepAlive or maybe ClientAliveInterval and
> ClientAliveCountMax in sshd_config?

Both hosts are SuSE 8.0 x86 boxes.  I haven't messed with KeepAlive (the
default is "yes" - right?) and I concluded that ClientAlive was not
available for ssh after reading the man page for ssh_config. ClientAlive
is only mentioned in sshd_config, not ssh_config.  In any case, the
default is 0 - for no client alive messages.

I will try setting KeepAlive to no.
Thanks,
Jim




More information about the openssh-unix-dev mailing list