OpenVZ Forum


Home » General » Support » SSH hang (SSH sessions are hanging)
icon9.gif  SSH hang [message #47324] Mon, 30 July 2012 18:26 Go to next message
mntbighker is currently offline  mntbighker
Messages: 2
Registered: July 2012
Location: Silicon Valley
Junior Member

I realize this is a common complaint with SSH being set to time out. And I also realize there multiple failure points Sad But I was hoping that being new to OpenVZ it's a common problem. I searched and didn't find anything similar. My SSH sessions LOCK and I have to close the window and reconnect. I do not get prompted or disconnected. The session just locks up and I have to close the window. If I leave top running this does not happen. My ClientAliveInterval is set to 0. This is Mac iTerm connecting to a CentOS6.3, with CentOS 6.3 host.

--Ideas?
Re: SSH hang [message #47346 is a reply to message #47324] Tue, 31 July 2012 16:36 Go to previous message
mustardman is currently offline  mustardman
Messages: 91
Registered: October 2009
Member
When I started having problems similar to this it was related to the router being changed on my end. Seems to depend on the router. Nothing I did with the router settings changed that unless I created a permanent port forward.

The other solution which I now use and seems to work for all routers is sending null keep alive SSH packets. That is what WinSCP calls it. Maybe iTerm has something similar.

[Updated on: Tue, 31 July 2012 16:39]

Report message to a moderator

Previous Topic: nfsd kernel options
Next Topic: 100% utilization of inodes after migrations from ext4 to gfs2 in dual-node cluster.
Goto Forum:
  


Current Time: Mon Oct 07 04:46:11 GMT 2024

Total time taken to generate the page: 0.04969 seconds