Menu

#68 MessageStoreException While Connecting to Sun_SSH

open
nobody
J2SSH (50)
9
2014-08-13
2006-05-08
No

Sir,

When I try to connect any Sun SSH server using ssh-
tools, I get the following error message.

com.sshtools.j2ssh.transport.MessageStoreEOFException:
The message store has reached EOF
at
com.sshtools.j2ssh.transport.SshMessageStore.getMessage
(Unknown Source)
at
com.sshtools.j2ssh.transport.SshMessageStore.getMessage
(Unknown Source)
at
com.sshtools.j2ssh.transport.SshMessageStore.getMessage
(Unknown Source)
at
com.sshtools.j2ssh.transport.TransportProtocolClient.re
questService(Unknown Source)
at com.sshtools.j2ssh.SshClient.connect
(Unknown Source)
at com.sshtools.j2ssh.SshClient.connect
(Unknown Source)
at com.sshtools.j2ssh.SshClient.connect
(Unknown Source)
at ssh.doSsh(ssh.java:45)
at ExecRemoteCommand.main
(ExecRemoteCommand.java:28)

But I am able to execute a command on OpenSSH
(eg.RedHat Server). I also checked for version
incompatibility. As per the documents ssh-tools
package will only support SSH2. So when a enabled
OpenSSH to support SSH version 1 only, the connection
hanged indefinitly. But the same thing I did in
SunSSH, But I got the same error message agin. Please
give me the solution as soon as possible. Because My
project is hanging because of this.

Discussion

  • Krishna Puthran

    Krishna Puthran - 2006-05-09
    • priority: 5 --> 9
     
  • Krishna Puthran

    Krishna Puthran - 2006-05-09

    Log file generated while running the example program PasswordConnect.java

     
  • Mahesh

    Mahesh - 2013-05-09

    I am facing similar issue, did you get any solution?

     

Log in to post a comment.

MongoDB Logo MongoDB