2 ms·
Also, use ~. to terminate a stalled session.
by varjag 16y ago
Also, use
~.
to terminate a stalled session.
- 1amzave 16y agoThe 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