[CentOS] Gnome Terminal and xterm problems

Sun Jul 15 19:40:45 UTC 2007
Jay Leafey <jay.leafey at mindless.com>

Matt Shields wrote:
> It shouldn't be dns because the session is already established and it
> now IP based.  I don't believe ssh tries to keep resolving the IP
> again and again.
> 
> No session doesn't come back ever.  It just hangs permanently.
> 
> -matt
> 

We were seeing something similar to this a while back, SSH sessions to 
or from outside our network were dropping after some period of no 
activity (which may not be your problem).  Eventually we found that the 
Cisco PIX on our perimeter was set to kill idle sessions sessions after 
a certain period.

We were able to resolve this by editing /etc/ssh/sshd_config and setting 
the ClientAliveInterval to a non-zero value.  In our case we set it to 
240, which caused a "ClientAlive" request packet to be sent every 4 
minutes over the encrypted channel as the idle threshold on the PIX was 
set to 5 minutes.  This resolved our issues, perhaps it might help with 
yours.

Just a thought!
-- 
Jay Leafey - Memphis, TN
jay.leafey at mindless.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5177 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20070715/82768f17/attachment-0005.bin>