So, I have created a jar and it works as expected.

However when I launch it from another machine, I get

com.jcraft.jsch.JSchException: Auth fail
    at com.jcraft.jsch.Session.connect(Session.java:461)
    at com.jcraft.jsch.Session.connect(Session.java:154)


Is it possible, for the error messages to be more specific as to what had
caused the Authentication to fail.

Also, if I have the systems setup to allow for PKI authentication, how come
it will not use that connection as default, why require a password?

Does JSch look in ~/.ssh/ for key and known_hosts files?
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to