6 ms·
The tilde-escape offers significantly more than just termination, actually. Hit '~?' for the available escape sequences: Supported escape sequences: ~.
by 1amzave 16y ago
The tilde-escape offers significantly more than just termination, actually. Hit '~?' for the available escape sequences:
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.)
If you open the command line (~C), another '?' shows its available commands:
ssh> ?
Commands:
-L[bind_address:]port:host:hostport Request local forward
-R[bind_address:]port:host:hostport Request remote forward
-KR[bind_address:]port Cancel remote forward