Re: ssh terminal froze once in a while

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



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@xxxxxxxxxxxx

<<attachment: smime.p7s>>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux