Interop problem with IPSSH-6.6.0, CR/NL?

Damien Miller djm at mindrot.org
Fri Jan 6 06:24:05 EST 2012


On Wed, 4 Jan 2012, Christian Weisgerber wrote:

> I have a curious problem connecting with OpenSSH (5.1p1 on FreeBSD,
> 6.0-beta on OpenBSD) to some managed switches running "IPSSH-6.6.0".
> 
> When I connect to the switch with the SSH2 protocol, I can't use
> the switch's CLI, because I can't terminate a command line.  I press
> <Enter> and nothing happens.  Same for ^M (CR) and ^J (NL).
> 
> When I connect to the switch with SSH1 (or by Telnet or the serial
> console port), this doesn't happen.  <Enter> aka ^M successfully
> terminates a line.  Interestingly, ^J is ignored.
> 
> I *suspect* that for a SSH2 connection, CR is somewhere mapped to
> NL, along the lines of the ICRNL termios setting, and NL is then
> ignored by the switch.  I don't know if the problem lies with OpenSSH
> or the switch--you wouldn't notice this when connecting to a Unix
> host.

Could you send a "ssh -vvv" output?

-d


More information about the openssh-unix-dev mailing list