OpenSSH_3.1p1: ~C gives a 'ssh>' prompt; What is this?

From: Janek Bogucki (janekbogucki_at_hotmail.com)
Date: 06/30/04


Date: 30 Jun 2004 03:29:11 -0700

When I use the <ESC> C escape sequence I get a 'ssh>' prompt. What is
this? What can it be used for?

I've added the actual escape sequences into the dump.

[jdb@ns jdb]$ ssh -V
OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
[jdb@ns jdb]$ ~?
Supported escape sequences:
~. - terminate connection
~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.)
[jdb@ns jdb]$~C
ssh>

-Janek Bogucki



Relevant Pages

  • Re: SSH terminal locking up from OS X to FreeBSD
    ... > Show us what SSH shows when the connection locks up. ... So, I finally got tcpdump working, and after the terminal locks ... I DO get the menu of escape sequences back after typing ...
    (freebsd-questions)
  • Re: SSH terminal locking up from OS X to FreeBSD
    ... >> Show us what SSH shows when the connection locks up. ... > connection is still open because I can see data go by on my tcpdump ... I DO get the menu of escape sequences back after typing ...
    (freebsd-questions)
  • Re: SSH && Escape Sequences
    ... > For the life of me I can't figure out why the 'intial' ssh session ... > (connecting with PuTTy) won't allow the use of escape sequences. ... Sometimes with other ssh clients, you need to clean the input buffer before ...
    (comp.unix.bsd.freebsd.misc)