How to kill an unresponsive ssh session
I love stumbling on clean solutions to little annoyances I deal with regularly. Anyone who uses ssh on a regular basis definitely knows how this story goes.
You have all your terminal windows/tabs arranged exactly how you like them. Then BOOM, one of your ssh sessions hangs, making that entire window unusable. <CTRL>-C you say? Hah hah, I laugh ironically at your feeble term-fu. You have to either wait for the ssh process to properly die, or kill it manually from another session.
<RETURN>~.
No more! Just hit <RETURN>~. and ssh dies faster than Samuel Jackson in an underwater shark research facility.
Thanks Laszlo!
-
dip liked this
-
dand liked this
-
chriscamps liked this
-
chriscamps reblogged this from instabil and added:
love stumbling on clean solutions...little annoyances I deal with regularly. Anyone who...
-
instabil posted this