TEXT   37

ssh escape codes

Guest on 24th August 2022 05:12:28 AM

  1. Supported escape sequences:
  2.   ~.  - terminate connection (and any multiplexed sessions)
  3.   ~B  - send a BREAK to the remote system
  4.   ~C  - open a command line
  5.   ~R  - Request rekey (SSH protocol 2 only)
  6.   ~^Z - suspend ssh
  7.   ~#  - list forwarded connections
  8.   ~&  - background ssh (when waiting for connections to terminate)
  9.   ~?  - this message
  10.   ~~  - send the escape character by typing it twice
  11.  
  12. From the command line (~C):
  13. Commands:
  14.       -L[bind_address:]port:host:hostport    Request local forward
  15.       -R[bind_address:]port:host:hostport    Request remote forward
  16.       -D[bind_address:]port                  Request dynamic forward
  17.       -KR[bind_address:]port                 Cancel remote forward

Raw Paste


Login or Register to edit or fork this paste. It's free.