SSH escape sequences

February 3, 2022 - Reading time: ~1 minute

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.)

Categories