IBM Support

Unable to connect to IP Switch SFTP/SSH server

Troubleshooting


Problem

Unable to connect to IP Switch SFTP/SSH server

Symptom

Using Gentran Integration Suite 4.3 and build 4322.  Cannot connect to the IP Switch SFTP/SSH server using password authentication. 

The Perimeter Logs indicates the Protocol Version Exchange message from the IP Switch server is the string: SSH-2.0.   

RFC 4253 specifies Protocol Version Exchange as:
SSH-protoversion-softwareversion SP comments CR LF
 

Gentran Integration is unable to parse the Protocol Version Exchange message.   A message more consistent with the format outlined in RFC4253 is needed. 

Error Message

Exceptions in the Perimeter Log

Windows

[2010-05-12 08:38:09.244] DEBUG 000000000000 GLOBAL_SCOPE Session.verifyHostKey(S,R) setting key type ssh-rsa
[2010-05-12 08:38:09.255] ERROR 000000000000 GLOBAL_SCOPE Session.beginSession(BSR,R,PT) runnable caught RuntimeException
java.lang.StringIndexOutOfBoundsException
at java.lang.String.substring(String.java:1088)
at com.maverick.ssh.SshConnector.c(Unknown Source)
at com.maverick.ssh.SshConnector.connect(Unknown Source)
at com.maverick.ssh.SshConnector.connect(Unknown Source)
at com.sterlingcommerce.woodstock.services.sftpclient.client.Session$1.run(Session.java:191)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)
at java.lang.Thread.run(Thread.java:801)
[2010-05-12 08:38:19.233] ERROR



Sun OS

[2010-05-12 09:44:20.521] ERROR 000000000000 GLOBAL_SCOPE Session.beginSession(BSR,R,PT) runnable caught RuntimeException
java.lang.StringIndexOutOfBoundsException: String index out of range: -5
at java.lang.String.substring(String.java:1768)
at com.maverick.ssh.SshConnector.c(Unknown Source)
at com.maverick.ssh.SshConnector.connect(Unknown Source)
at com.maverick.ssh.SshConnector.connect(Unknown Source)
at com.sterlingcommerce.woodstock.services.sftpclient.client.Session$1.run(Session.java:191)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)
at java.lang.Thread.run(Thread.java:595)

 

Welcome Message in the Perimeter Log.

[2010-05-11 16:29:21.906] DEBUG <Dispatcher> 000000000000 GLOBAL_SCOPE Parsing frame: Frame[DATA < >23826> 9]
[2010-05-11 16:29:21.906] DEBUG <Dispatcher> 000000000000 GLOBAL_SCOPE Relay[local]: received: DataMessage on circuit 23826 with starting characters [SSH-2.0
]
[2010-05-11 16:29:21.906] DEBUG <Client783> 000000000000 GLOBAL_SCOPE ConduitStreamPair{LOG.EN_US}-is.read() - Read 1 bytes

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

NFX9228

Document Information

Modified date:
11 February 2020

UID

swg21560017