Ant com.jcraft.jsch.JSchException:Auth cancel,连接到我的MAC时
我正在使用ANT的以下目标从Win XP连接到我的MAC计算机Ant com.jcraft.jsch.JSchException:Auth cancel,连接到我的MAC时,ant,ssh,Ant,Ssh,我正在使用ANT的以下目标从Win XP连接到我的MAC计算机 <sshexec host="ip" username="user" password="pwd" trust="true" command="ps"/> 但有时它会工作,我会得到输出,但有时(10次执行中的8次)会给我com.jcraft.jsch.jscheexception:Auth cancel exception 所以,这个错误并不是
<sshexec host="ip"
username="user"
password="pwd"
trust="true"
command="ps"/>
但有时它会工作,我会得到输出,但有时(10次执行中的8次)会给我com.jcraft.jsch.jscheexception:Auth cancel exception
所以,这个错误并不是一直都会发生
有人能帮忙找出这个问题吗