SSH keeps hanging up...

Kimball Larsen kimball at kimballlarsen.com
Thu May 22 00:52:31 MDT 2008


On May 21, 2008, at 11:46 PM, Jonathan Duncan wrote:

>
> 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?

The default installed on OS X 10.5.2.

- Kimball
http://www.kimballlarsen.com

>

> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */




More information about the PLUG mailing list