ssh time out

Konstantin Svist fry.kun at gmail.com
Sun Jun 28 01:50:08 UTC 2009


Patrick Dupre wrote:
> Hello,
>
> I need to increase the timeout of the ssh session, so I set
> ClientAliveInterval 7200
> in the file: /etc/ssh/sshd_config
> but I did not observe any change.
> What am I doing wrong ?
>
> Thank
>

The TCP connection may be timing out (if you're behind a firewall
someone else controls, for instance)

Whatever the case may be, try adding these to sshd_config:
|KeepAlive yes
ClientAliveInterval 60

This should make the server ping the client every 60 seconds. TCP
connection will see "activity" and not turn off.
|




More information about the fedora-list mailing list