Apr. 28, 2010 at 12:28am with 4 notes View comments
reblogged from instabil
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!

  1. chriscamps reblogged this from instabil and added:
    love stumbling on clean solutions...little annoyances I deal with regularly. Anyone who...
  2. instabil posted this
blog comments powered by Disqus