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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux