[PLUG] ssh connection hangs after idling

Tim tim-pdxlug at sentinelchicken.org
Wed May 28 17:32:35 UTC 2008


> I notice this behavior on my Ubuntu box.  If I ssh into it, steps away for a
> while and comes back, the ssh session
> would hang.  I added
> 
>     ServerAliveInterval 155
> 
> to /etc/ssh/ssh_config but it does not see to solve the problem.
> 
> Is there another ssh config I can put in so my ssh connections won't hang
> after idling for a period of time?

That's the setting I've always used (or the deprecated Debian option
that used to do the same thing) to keep connections open when going
through annoying firewalls (like the PIX) and such.  Maybe just try
reducing the interval?

tim



More information about the PLUG mailing list