Hello My ssh terminal froze some times, and I was thinking it might be related to centos , but now I found that even ubuntu users experiencing the same problem. does ssh logs any where, and what do you suggest for finding the cause. Thanks
2007/12/12, Centos <centos at unixplanet.biz>:> My ssh terminal froze some times, and I was thinking it might be related > to centos , > but now I found that even ubuntu users experiencing the same problem.Is there a firewall between your client and the server (that kills the session after inactivity)? Try the keep alive option. cheers Simon -- XMPP: sjolle at swissjabber.org
On Dec 12, 2007 2:45 PM, Centos <centos at unixplanet.biz> wrote:> Hello > > My ssh terminal froze some times, and I was thinking it might be related > to centos , > but now I found that even ubuntu users experiencing the same problem. > > does ssh logs any where, and what do you suggest for finding the cause.I suffer this kind of problem using putty for long time now. The terminal freeze for about 45s to 3min. Other putty session are still working. I got this for 2 or 3 years now, on about all RedHat distribution and clone from RH Linux 8.0 and on a lot of different network infrastructure, with different hardware. The most common part is WinXP and putty, but in all version and service pack. My workaround is : patience :-(> > Thanks > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- Alain Spineux aspineux gmail com May the sources be with you
Centos wrote:> Hello > > My ssh terminal froze some times, and I was thinking it might be > related to centos , > but now I found that even ubuntu users experiencing the same problem. > > does ssh logs any where, and what do you suggest for finding the cause.Had the same/similar problem. Our home dirs are nfs mounted from a linux box & if I explicitly set the nfs mount options in fstab instead of using the catchall "default" , the problem seems to go away. Workign locally on the client on the nfs home dir was OK, just that an ssh session to another box ( and same nfs home dir ) would occasionally hang after time. Never found any complaints in any log files - discovered my "cure" by accident really. -- Toby Bluhm Midwest Instruments Inc. 30825 Aurora Road Suite 100 Solon Ohio 44139 440-424-2240
> My ssh terminal froze some times, and I was thinking it might > be related to centos , but now I found that even ubuntu users > experiencing the same problem.This happens to me when I SSH from a Mandriva box to my CentOS server. It does not happen when I SSH to another Mandriva box, so it's a CentOS thang. I turned on the TCP keep alive option in the SSH configuration, but it still happens. This is exceptionally annoying. Miark
Around 01:45pm on Wednesday, December 12, 2007 (UK time), Centos scrawled:> Hello > > My ssh terminal froze some times, and I was thinking it might be related > to centos , > but now I found that even ubuntu users experiencing the same problem. > > does ssh logs any where, and what do you suggest for finding the cause.Try changing /etc/ssh/sshd_config as follows: ... ClientAliveInterval 30 ClientAliveCountMax 5 ... see: http://www.stevesearle.com/tech/centos5.0.svr.html#securessh Steve -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting a bad thing? 00:08:58 up 74 days, 11:05, 1 user, load average: 0.15, 0.07, 0.01 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20071213/472397b5/attachment-0002.sig>
On Thu, 13 Dec 2007 00:10:05 +0000, Steve wrote:> Try changing /etc/ssh/sshd_config as follows: > > ... > ClientAliveInterval 30 > ClientAliveCountMax 5 > ... > > see: > http://www.stevesearle.com/tech/centos5.0.svr.html#securesshDoesn't work for me, unfortunately. Miark