ssh sessions in xterms freeze for many minutes whenever they disconnect

Posted by dreeves on Super User See other posts from Super User or by dreeves
Published on 2010-06-02T02:57:28Z Indexed on 2010/06/02 3:04 UTC
Read the original article Hit count: 287

Filed under:
|
|
|
|

If I ssh to a remote machine and then lose internet connectivity, the session freezes. I can't control-c or otherwise abort and go back to my local xterm or terminal prompt but if I wait several minutes it will do so. There must be some way to force it to abort the remote ssh session when connectivity is lost. I'm on a Mac but I believe this happens on cygwin or linux as well.

© Super User or respective owner

Related posts about linux

Related posts about mac