Skip to content

SSH

SSH Escape Sequences

Supported escape sequences:
 ~.   - terminate session
 ~B   - send a BREAK to the remote system
 ~R   - request rekey
 ~#   - list forwarded connections
 ~?   - this message
 ~~   - send the escape character by typing it twice
(Note that escapes are only recognized immediately after newline.)

Terminate stale SSH connection

# at least one newline must preceed the escape sequence
~.