com.jcraft.jsch.JSchException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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.

  • RE: The SCP task don't scp?! Help Please.
    via by Unknown author,
  • 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
    ,
  • JSch connection with public key
    via by 843811,
    • com.jcraft.jsch.JSchException: Auth cancel at com.jcraft.jsch.Session.connect(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) at com.mypackage.MySuperClass.executeInternal(SFTPPushCommand.java:68) at com.mypackage.MySubClass.executeInternal(QuickPlaySFTPPushCommand.java:27) at com.airborne.automation.Command.execute(Command.java:99) at com.airborne.automation.Command.execute(Command.java:146) at com.airborne.automation.Command.execute(Command.java:146) at com.airborne.automation.Project.run(Project.java:111) at java.lang.Thread.run(Thread.java:595)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    98 more bugmates