Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-3133

SFTP resolution fails with 'Auth cancel'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1-rc-1

      Description

      The sftp authentication is canceled
      Caused by: com.jcraft.jsch.JSchException: Auth cancel
      at com.jcraft.jsch.Session.connect(Session.java:511)
      at com.jcraft.jsch.Session.connect(Session.java:183)
      at org.gradle.internal.resource.transport.sftp.SftpClientFactory$SftpClientCreator.createNewClient(SftpClientFactory.java:63)
      I actually have the correct credentials there. I did log in with FileZilla using the same username password combination. I think it is something with "known_hosts". But JSch is very hard to read and does not log any useful info.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            forums Gradle Forums
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: