Hi,
I have tested this connecting to a D2 as EOS device with openssh on GNU/Linux, seeing the following results:
- Interactive login works fine,
- Specifying a command with the SSH invocation does not work,
- Providing a command to SSH via STDIN does work.
This seems to be similar to the problem reported by SH.
The test switch does not have a password configured, its IP address is 10.0.0.11.
Output for case 2:
$ ssh
[email protected] "show version" Received disconnect from 10.0.0.11: 2: Packet integrity error. $ ssh
[email protected] show version Received disconnect from 10.0.0.11: 2: Packet integrity error.
Output for case 3:
$ echo show version | ssh
[email protected] Pseudo-terminal will not be allocated because stdin is not a terminal. Enterasys D2-Series Command Line Interface Enterasys Networks, Inc. 50 Minuteman Rd. Andover, MA 01810-1008 U.S.A. Phone: +1 978 684 1000 E-mail:
[email protected] WWW: http://www.enterasys.com (c) Copyright Enterasys Networks, Inc. 2009 Chassis Serial Number: 08351019905C Chassis Firmware Revision: 06.03.01.0008 D2(su)->show version Model Serial # Versions -------------- ----------------- ------------------- D2G124-12 08351019905C Hw:BCM5698 REV 17 Bp:01.00.44 Fw:06.03.01.0008 BuFw:01.00.03.0002 D2(su)->Connection to 10.0.0.11 closed by remote host.