MindTerm 2.4 and Nortel Alteon Devices Running SSH
Per Allansson
per@appgate.com
Fri, 16 Jan 2004 10:34:03 +0100
It looks like the Alteon switch closes the connection for some reason -
and since only the version negotiation has been done it might have
to with that. Maybe it doesn't like the version string from
mindterm (SSH-1.5-MindTerm_2.4.1). You could try sending
SSH-1.5-1.2.27 instead..., i.e. replace
verStr = getVersionId(true);
with
verStr = "SSH-1.5-1.2.27";
in SSHClient.java
Pacheco, Rodolfo J, ALABS wrote:
> I have been testing the MindTerm_2.4.1 API for communicating via ssh
> to different network devices.
>
>
>
> Using SSH1Example or BasicClient as a base for my testing, most devices
> that I tested worked OK.
>
> The exception seems to be the Nortel Alteon Switch.
>
>
>
> The Alteon switch is running an ssh 1 server
> (SSHClient.negotiateVersion() [SSH-1.5-1.2.27])
>
>
>
> Doing some basic debugging the Input Stream seemed to "Dry out" after
> doing the version negotiation.
>
>
>
> java.io.EOFException
>
> at java.io.DataInputStream.readInt(DataInputStream.java:397)
>
> at
> com.mindbright.ssh.SSHPduInputStream.readFrom(SSHPduInputStream.java:80)
>
> at
> com.mindbright.ssh.SSHClient.receiveServerData(SSHClient.java:607)
>
> at com.mindbright.ssh.SSHClient.boot(SSHClient.java:455)
>
> at com.mindbright.ssh.SSHClient.bootSSH(SSHClient.java:422)
>
> at com.mindbright.ssh.SSHClient.bootSSH(SSHClient.java:372)
>
> at examples.SSH1Example.runWithPortFwd(SSH1Example.java:93)
>
> at examples.SSH1Example.main(SSH1Example.java:288)
>
>
>
> Did anyone ever connect successfully to an Alteon Switch using this API?
>
>
>
> Any suggestions?
>
>
>
>
>
> Regards
>
>
>
> Rodolfo
>
>
>
>