com.jcraft.jsch.JSchException: Auth fail

 ̄綄美尐妖づ 提交于 2019-12-11 02:21:45

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/16642204/com-jcraft-jsch-jschexception-auth-fail

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!