Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2006 11:10:31 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        Peter Thoenen <peter.thoenen@yahoo.com>, Robert Watson <rwatson@freebsd.org>, freebsd-stable@freebsd.org
Subject:   Re: FreeBSD 6.1 Tor issues (Once More, with Feeling)
Message-ID:  <20060703111031.48b21924@localhost>
In-Reply-To: <20060702193224.GD4915@dan.emsphone.com>
References:  <20060627175853.765a590e@localhost> <20060628101729.J50845@fledge.watson.org> <20060702173338.00a5ed44@localhost> <20060702170843.C67344@fledge.watson.org> <20060702190520.3b344c83@localhost> <20060702182302.H80381@fledge.watson.org> <20060702193224.GD4915@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Dan Nelson <dnelson@allantgroup.com> wrote:

> In the last episode (Jul 02), Robert Watson said:
> > On Sun, 2 Jul 2006, Fabian Keil wrote:
> > >The ssh man page offers:
> > >
> > >|~B      Send a BREAK to the remote system (only useful for SSH
> > >|        protocol version 2 and if the peer supports it).
> > >
> > >I am using ssh 2, but the only reaction I get is a new line.
> > >
> > >|FreeBSD/i386 (tor.fabiankeil.de) (ttyd0)
> > >|
> > >|login: ~B
> 
> If you enter ~B and actually see a ~B printed to the screen, then ssh
> didn't process it because you didn't hit <cr> first.  So <cr>~B will
> tell ssh to send a break.

I am actually using <cr>~B and I don't see just "~B",
but "~B
". The tilde is printed after I release B, therefore I
guess it is working.
 
> > It sounds like your serial console server may not know how to map
> > SSH break signals into remote serial break signals.  Try
> > ALT_BREAK_TO_DEBUGGER.  Here's the description from NOTES:
> > 
> > # Solaris implements a new BREAK which is initiated by a character
> > # sequence CR ~ ^b which is similar to a familiar pattern used on
> > # Sun servers by the Remote Console.
> > options         ALT_BREAK_TO_DEBUGGER
> 
> ... and if you're sshing to your terminal server, remember that ssh
> will eat that tilde (because you sent <cr>~ ), so you need to send
> <cr>~~^B to pass the right characters to FreeBSD.  Or change ssh's
> escape character with the -e flag.

<cr>~^b works for me, without touching any ssh settings.
As <cr>~. is still causing a disconnect, it doesn't look
like the escape character was changed either.

Fabian
-- 
http://www.fabiankeil.de/

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEqN8NjV8GA4rMKUQRAmeDAKCef8RxDFj/FW1xoPboO5FJao9NoQCfQ5eM
N5eg9Fnx2goMUGfXTbx2JMo=
=FlmO
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060703111031.48b21924>