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.

  • GitHub comment 6#234785173
    via GitHub by PardeeXi
    ,
  • Accessing the lowest exception message
    via by Unknown author,
  • Accessing the lowest exception message
    via by Unknown author,
  • JSch / Mailing Lists
    via by Unknown author,
  • [JIRA] (OPENENGSB-1985) git connector tests do not work
    via by Stefan Dösinger (Created) (JIRA),
    • com.jcraft.jsch.JSchException: Auth fail at com.jcraft.jsch.Session.connect(Session.java:452) at SessionController.setUpConnection(SessionController.java:37) at FTPConnectDemo.main(FTPConnectDemo.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

    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