com.sshtools.j2ssh.transport.TransportProtocolException: The connection did not complete

SIdhant Behura <[email protected]> Fri, 21 Aug 2015 09:06:43 +0000 (UTC)
Newsgroups gmane.comp.java.sshtools.user
Message-ID <[email protected]>
Hi ,

I am getting the below exception while opening a ssh connection.

com.sshtools.j2ssh.transport.TransportProtocolException: The connection did 
not complete
	at 
com.sshtools.j2ssh.transport.TransportProtocolClient.onStartTransportProtocol(
Unknown Source)
	at 
com.sshtools.j2ssh.transport.TransportProtocolCommon.startTransportProtocol(Un
known Source)
	at com.sshtools.j2ssh.SshClient.connect(Unknown Source)

I am using Java 1.7.0_25 and j2ssh-core-0.2.9.jar and Linux OS.

I am getting this exception once in a while and it is getting resolved once i 
restart the java service.

I got to know from some forums that the problem lies with the SSL handshake 
used to exchange Diffie-Hellman or "DH" public keys.

Please suggest how to tackle this issue.

Any suggestion is appreciated.

Thanks
Sidhant Behura




------------------------------------------------------------------------------