ssh timeout

Colin Watson cjwatson at canonical.com
Sat Dec 25 08:13:22 UTC 2004


On Sat, Dec 25, 2004 at 06:06:40AM +0000, Sean Miller wrote:
> If so, I have a wireless network/ADSL combination and what happens is 
> that if you leave a ssh session inactive for more than, say, 5 minutes 
> (may be longer -- not sure) it hangs. Not sure why this is, but it seems 
> to have started happening since the wireless so guess it may have 
> something to do with that...
> 
> Anyway, on puTTY (Windows) there is a "keepalive" option which means 
> this does not happen -- what I guess it must do is send a sync message 
> every minute or so, but what I wondered was... is there anything similar 
> on the standard Linux ssh ?

You may find the ServerAliveInterval option useful.

Cheers,

-- 
Colin Watson                                    [cjwatson at canonical.com]




More information about the ubuntu-users mailing list