Authentication fails for SUSE Linux: J2SSH

Help
Ajay
2013-02-18
2013-05-20
  • Ajay

    Ajay - 2013-02-18

    I am unable to authenticate for SUSE Linux. I calling below mentioned function-
    SshClient.authenticate(SshAuthenticationClient arg0)
    And getting error AuthenticationProtocolState.FAILED. Did anyone face such issue? Any comment/help is greatly appreciated.

     
  • Ajay

    Ajay - 2013-02-20

    J2ssh logs for the problem-

    2013-02-18 17:56:22,188  INFO http-8080-3 sshtools.j2ssh.transport.TransportProtocolCommon:? - Sending SSH_MSG_SERVICE_REQUEST
    2013-02-18 17:56:22,192  INFO Transport protocol 1 sshtools.j2ssh.transport.TransportProtocolCommon:? - Received SSH_MSG_SERVICE_ACCEPT
    2013-02-18 17:56:22,230  INFO http-8080-3 sshtools.j2ssh.transport.TransportProtocolCommon:? - Sending SSH_MSG_USERAUTH_REQUEST
    2013-02-18 17:56:22,234  INFO Transport protocol 1 sshtools.j2ssh.transport.TransportProtocolCommon:? - Received SSH_MSG_USERAUTH_FAILURE
    2013-02-18 17:58:22,186 ERROR Transport protocol 1 sshtools.j2ssh.transport.TransportProtocolCommon:? - 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:619)
    2013-02-18 17:58:22,194 DEBUG Transport protocol 1 sshtools.j2ssh.transport.TransportProtocolCommon:? - The Transport Protocol has been stopped

     

Log in to post a comment.