当我从本地磁盘上载文件到远程服务器时,发生了这样的异常:com.jcraft.jsch.JSchException: Auth fail
at org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:215)
我确定用户名和密码正确。因为在重新启动上传线程后无需修改配置,就可以上传任何文件。
此异常是否可能是由于我的机器和服务器之间的网络故障引起的?还是任何其他原因?
EGit(甚至最新版本3.3.2)在JRE 1.8中无法正常工作。将JRE降级到1.7,此错误将消失。
[抱歉,s difficult to understand.
My jenkins user can enter to 1.2.3.4 thrue terminal with my pem key. Also I add to credentials my pem key and user. On 1.2.3.4 server I have myUser with .ssh/authorized_keys. So it
s已连接通孔端子。但是为什么它不能与管道一起使用?