The server immediately closes the connection...

-----Original Message-----
From: Wright, Omari [mailto:[email protected]] 
Sent: Thursday, September 27, 2012 11:43 AM
To: '[email protected]'
Subject: Problem with authentication

I am using SSHD embedded within a web service. I have configured it the same 
way I had when I was running it as a command line process with customized code. 
Upon connecting to the server I get the error:

SEVERE: The Transport Protocol thread failed
java.io.IOException: The socket is EOF
        at 
com.sshtools.j2ssh.transport.TransportProtocolInputStream.readBufferedData(Unknown
 Source)
        at 
com.sshtools.j2ssh.transport.TransportProtocolInputStream.readMessage(Unknown 
Source)
        at 
com.sshtools.j2ssh.transport.TransportProtocolCommon.processMessages(Unknown 
Source)
        at 
com.sshtools.j2ssh.transport.TransportProtocolCommon.startBinaryPacketProtocol(Unknown
 Source)
        at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(Unknown 
Source)
        at java.lang.Thread.run(Thread.java:662)
com.sshtools.j2ssh.authentication.AuthenticationProtocolException: Failed to 
read messages
        at 
com.sshtools.j2ssh.authentication.AuthenticationProtocolClient.internalReadMessage(Unknown
 Source)
        at 
com.sshtools.j2ssh.authentication.AuthenticationProtocolClient.readMessage(Unknown
 Source)
        at 
com.sshtools.j2ssh.authentication.PasswordAuthenticationClient.authenticate(Unknown
 Source)
        at 
com.sshtools.j2ssh.authentication.AuthenticationProtocolClient.authenticate(Unknown
 Source)
        at com.sshtools.j2ssh.SshClient.authenticate(Unknown Source)
        at 
com.solers.espds.cim.dataTransmit.PdaSftpClient.main(PdaSftpClient.java:132)

Reply via email to