Force SSH session exit
You're running SSH session (possibly nested), and it's not responding? Ctrl-D is not working? Just type following characters:
~.
Your SSH session will close immediately.
Written by Adam Stankiewicz
Related protips
3 Responses

Nice one! Quick and easy, thanks
over 1 year ago
·

If you just don't want to exit to the prompt and type exit, there is neat shortcut to do that: Ctrl-D
over 1 year ago
·

@eugeny It won't work if you run something that traps signal that Ctrl-D sends.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#