SSH Escape Commands

These are the ssh escape commands from within an ssh connected session.

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

The ~ (tilda) is normally accessed by keying [shift] + [`]

To pull up the list as above send a Tilda + Question Mark ~?

This entry was posted in Hints and Tips, Security. Bookmark the permalink.