SshClient.connect: IOException: Socket is EOF

  • James Adams

    James Adams - 2009-10-06

    I have the following code which results in an IOException (Socket is EOF) when I hit the SshClient.connect() call:

        sshClient = new SshClient();
        sshClient.connect(remoteHost, 22);

    I am stumped for a reason why this is happening since I can connect to the host and run ssh commands on it from the command line (both local and remote hosts are running Solaris).

    Can anyone comment on why this is happening and what I can try to fix the issue?

    Thanks in advance for any suggestions, comments, etc.


  • James Adams

    James Adams - 2009-10-06

    I am using j2ssh-core version 0.2.9.  The two Solaris machines that I am running my codes on show the following as a result of a 'ssh -V' command:

    Sun_SSH_1.3, SSH protocols 1.5/2.0, OpenSSL 0x0090801f

    How can I determine if this version of OpenSSL is compatible with the j2ssh-core Java library that I'm using?



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks