ssh time out

Patrick Dupre pd520 at york.ac.uk
Sun Jun 28 09:59:24 UTC 2009


On Sat, 27 Jun 2009, Konstantin Svist wrote:

> 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
would it be TCPKeepAlive ?

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

-- 
---
==========================================================================
  Patrick DUPRÉ                      |   |
  Department of Chemistry            |   |    Phone: (44)-(0)-1904-434384
  The University of York             |   |    Fax:   (44)-(0)-1904-432516
  Heslington                         |   |
  York YO10 5DD  United Kingdom      |   |    email: pd520 at york.ac.uk
==========================================================================


More information about the fedora-list mailing list