While I upload a file from local disk to a remote server,such exception occured:
com.jcraft.jsch.JSchException: Auth fail
at org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:215)
I am sure that the userid and password is correct.Because I can upload any file after I restart the upload thread without modify configuration.
Is it possible that this exception is caused by bad network between my machine and server?Or any other cause?
EGit (even latest version 3.3.2) does not work properly with JRE 1.8. Downgrade JRE to 1.7 and this error will disappear.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With