ssh timeout

Sean Miller sean at seanmiller.net
Sat Dec 25 06:06:40 UTC 2004


Anybody here use ssh to access remote servers across the internet?

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 ? I ask because whilst this timeout at a shell 
prompt is not an issue, if it happens when editing a file using vi the 
resulting zombie process seems to "panic" and start using ridiculously 
high amounts of CPU.

Any ideas?

Sean




More information about the ubuntu-users mailing list