Interop problem with IPSSH-6.6.0, CR/NL?

Christian Weisgerber naddy at mips.inka.de
Thu Jan 5 08:59:08 EST 2012


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.

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de


More information about the openssh-unix-dev mailing list