[CentOS] ssh terminal froze once in a while

Sun Dec 16 05:57:50 UTC 2007
Jay Leafey <jay.leafey at mindless.com>

Miark wrote:
> On Thu, 13 Dec 2007 23:40:59 +0100, Alain wrote:
> 
>> Miark, do you suffer the problem very often ?
>> Could you try to temporarily make a link from /dev/random
>> to /dev/urandom ?
> 
> Actually, I have to take that back. After I made the sshd config
> changes:
> 
>   ClientAliveInterval 30
>   ClientAliveCountMax 5
> 
> it did hang on me once, but I'm looking at Konsole rigth now,
> and my connection to the CentOS box has stayed alive all day. I
> guess all is well.
> 
> I'll keep your suggestion, though. If the hangs return, I'll
> give your idea a shot.
> 
> Thanks,
> Miark

A couple of years back I was running into this problem very 
consistently, SSH sessions from my home to my office would just be 
dropped after a while.  After talking to the network administrator I 
found that the Cisco firewall we were using would "prune" what it saw as 
inactive connections after a specific period of time.  Adding the 
ClientAlive* entries to the sshd_config file has resolved this for me.
--
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/20071215/3e6d9b4c/attachment-0005.bin>