Skip to content

Instantly share code, notes, and snippets.

@lcaballero
Last active July 20, 2017 16:08
Show Gist options
  • Save lcaballero/63aedbb94dd29991a1c7b3c66d362e19 to your computer and use it in GitHub Desktop.
Save lcaballero/63aedbb94dd29991a1c7b3c66d362e19 to your computer and use it in GitHub Desktop.
Broken pipe exit session
Supported escape sequences:
~. - terminate session
~B - send a BREAK to the remote system
~R - Request rekey (SSH protocol 2 only)
~# - list forwarded connections
~? - this message
~~ - send the escape character by typing it twice
(Note that escapes are only recognized immediately after newline.)
Reference:
https://askubuntu.com/questions/29942/how-can-i-break-out-of-ssh-when-it-locks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment