SSH keeps hanging up...

Jonathan Duncan jonathan at
Wed May 21 23:46:57 MDT 2008

On 21 May 2008, at 23:07, Kimball Larsen wrote:

> I occasionally have to remotely admin a server at the office from  
> home.
> I have it set up to only allow a few hosts access via ssh, and my  
> home static IP is on the permitted list. (using hosts.allow,  
> hosts.deny)
> I can connect to and log into the server just fine.  The session  
> works great as long as I am actively doing something in the shell.   
> However, if I let it sit idle for (it seems) < 1 minute, the session  
> seems to just lock up.
> There is no indication that I've been bumped off the server -  
> nothing changes in the window.
> But no new keystrokes are registered, and the only way I can exit  
> out of the shell is to close the terminal window.
> Where should I be looking to find the cause of this behavior?  How  
> can I diagnose what is going on here?
> A cursory review of /etc/ssh/sshd_config revealed nothing  
> enlightening.

It is my understanding that the SSH client can be set to send empty  
packets to keep the session alive.  Each client is different.  Which  
SSH client are you using?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2466 bytes
Desc: not available
Url : 

More information about the PLUG mailing list