I am trying to Connect to solaris 5.11 using jsch 0.1.50 jar form the examples given i can connect to my host with out any issue .
same Code i replaced in my ear file and deployed thru jboss .
i was getting the JSchException: Algorithm negotiation fail , When i was trying to connect from server .
8-06-2013 05:17:33.266 INFO [stdout] com.jcraft.jsch.JSchException: Algorithm negotiation fail
08-06-2013 05:17:33.268 INFO [stdout] at com.jcraft.jsch.Session.receive_kexinit(Session.java:540)
08-06-2013 05:17:33.269 INFO [stdout] at com.jcraft.jsch.Session.connect(Session.java:288)
08-06-2013 05:17:33.270 INFO [stdout] at com.jcraft.jsch.Session.connect(Session.java:145)
Please let me know what is causing the issue