com.jcraft.jsch.JSchException

tip

Ant scp task has an attribute called trust. If set to false (default) the host you connect to has to be set in the knownhosts file (you might have to create it) Another way is to explicitly set "trust = true". Check the documentation: https://goo.gl/G5680x

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • JSch / Discussion / Help:Auth cancel exception
    via by Unknown author,
  • JSch / Discussion / Help:Auth cancel exception
    via by Unknown author,
  • Auth cancel exception
    via jsch by lkline
    ,
  • changing ssh keypath - auth cancel error
    via by Shantanu,
    • com.jcraft.jsch.JSchException: Auth fail at org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute(SSHExec.java:211) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeTarget(Project.java:1214) at org.apache.tools.ant.Project.executeTargets(Project.java:1062) at org.apache.tools.ant.Main.runBuild(Main.java:673) at org.apache.tools.ant.Main.startAnt(Main.java:188) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) Caused by: com.jcraft.jsch.JSchException: Auth fail at com.jcraft.jsch.Session.connect(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) at org.apache.tools.ant.taskdefs.optional.ssh.SSHBase.openSession(SSHBase.java:180) at org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute(SSHExec.java:143) ... 10 more

    Users with the same issue

    jf-ast
    6 times, last one,
    jstrayer
    3 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    98 more bugmates