Re: ssh ServerTimeOut

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



grace rante wrote:
> There's a debian specific flag for ssh called 'ServerTimeOut' which
> allows ssh to give up if no data from the server
> is received for the specified number of seconds.
>
> Does anybody know the equivalent option for centos-ssh?

Just wondering what you need this for? the TCP timeout(s) in the
OS will terminate the session for you if no data is received,
are you interested in dramatically shortening that window for
some reason?

See the man page for ssh_config for these options:
ServerAliveInterval
ServerAliveCountMax

I use the first one to maintain ssh sessions across stateful
firewalls, otherwise the firewalls often terminate idle
connections.

nate


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux