com.jcraft.jsch.JSchException

Auth fail

Samebug tips1

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web429

  • via pentaho.com by Unknown author, 11 months ago
    Auth fail Auth fail
  • via GitHub by tarruda
    , 1 year ago
    Auth fail
  • Auth fail
  • Stack trace

    • com.jcraft.jsch.JSchException: Auth fail at com.jcraft.jsch.Session.connect(Session.java:464) at com.jcraft.jsch.Session.connect(Session.java:158) at SshTest.<init>(SshTest.java:58) at SshTest.main(SshTest.java:69)

    Write tip

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

    Users with the same issue

    6 times, 5 months ago
    3 times, 6 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    98 more bugmates