[Ilugc] ssh escape sequences

  • From: tshrinivasan@xxxxxxxxx (Shrinivasan T)
  • Date: Thu, 5 Dec 2013 16:17:48 -0800

[shrini at cu300 yum.repos.d]#  ~?
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
 ~V/v - decrease/increase verbosity (LogLevel)
 ~^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.)



Typed ~? in a ssh session and found some interesting things.

~. i very useful to kill the ssh sessions, when the connection is lost due
to network disconnect and reconnect. When the ssh session is hang, we can
use ~. Enter
to terminate that session and to get the original shell.

Other key sequences also interesting.




-- 
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free E-Magazine on Free Open Source Software in Tamil : http://kaniyam.com

Get CollabNet Subversion Edge :     http://www.collab.net/svnedge

Other related posts: