"com.jcraft.jsch.JSchException: Auth fail" with working passwords

The Solution to "com.jcraft.jsch.JSchException: Auth fail" with working passwords is


Tracing the root cause, i finally found that the public key of type dsa is not added to the authorized keys on remote server. Appending the same worked for me.

The ssh was working with rsa key, causing me to look back in my code.

thanks everyone.

~ Answered on 2013-06-18 06:56:12


Most Viewed Questions: