#45 Jsch on Solaris 5.10 with JRE 1.5

open
nobody
None
5
4 days ago
2010-03-11
Sriram L
No

Hi, jsch-0.1.40 or 0.1.42 doesn't seem to work on Solaris 5.10 with JRE 1.5 while it works fine with Solais 5.10 with JRE1.4. Jsch was not able to create a connection and it fails saying Authorization failed. I was using a blank passphrase in my private/public key.
Please see the exception:
com.jcraft.jsch.JSchException: Auth fail
at com.jcraft.jsch.Session.connect(Session.java:452)
at com.jcraft.jsch.Session.connect(Session.java:150)
at SFTP.main(SFTP.java:44)

I've attached the source file used. I've purposely changed the server name, user name and location of key and know host.

Discussion

  • Sriram L
    Sriram L
    2010-03-11

     
    Attachments