kill dead ssh sessions
Date: April 30, 2012
so this is one of those things that you forget about when you really need it.
ssh sessions dies, now to kill the session….
don’t remember how ???
neither do i most of the time.
? (thats a tilde then question mark)
which gives you this :
$ ~? Supported escape sequences: ~. - terminate connection (and any multiplexed sessions) ~B - send a BREAK to the remote system ~C - open a command line ~R - Request rekey (SSH protocol 2 only) ~^Z - suspend ssh ~# - list forwarded connections ~& - background ssh (when waiting for connections to terminate) ~? - this message ~~ - send the escape character by typing it twice (Note that escapes are only recognized immediately after newline.)
so the break would be
Leave a Reply