Re: ssh time out

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

 



On Sat, Jun 27, 2009 at 9:50 PM, Konstantin Svist<fry.kun@xxxxxxxxx> 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 ?

Sometimes things in between the two systems you have control over
cause problems that make these settings not work as you would expect.

I have seen cases where disabling both keep alive message types worked
best in terms of not having the connections get terminated.

ClientAliveInterval  0  # don't send keep alive messages
TCPKeepAlive no  # and no TCP keep alive messages either (default is yes)

Guess it was a firewall issue or some intermittent connectivity
problem, but disabling the those two things made for more stable
sessions.  One downside is that when a connection gets terminated
there is a zombie process left on the server that has to be killed
off.

Mike

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux