Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17366

ssh slave login via keyfile not working in 0.23

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • ssh-slaves-plugin
    • None
    • Ubuntu

      I updated to 1.480.3 (from 1.480.2) so i also updated all plugins
      -> so ssh-slaves was updated from 0.22 to 0.23

      The upgrade process seems to have created all needed entries for the ssh-credentials plugin. But they are not working (keyfile + pwd type)! [TRACE]

      The same effect appears when i create the new entry manually. Which does NOT work when:

      • using "Enter directly"
      • using "From a file on Jenkins master " with relative or absolute path
      • using "From the Jenkins master ~/.ssh"
      • using not the keyfile password but the password of the user

      There also no changes in the error message when typing in a wrong username, or a wrong password.

      It only works when loging in with username password combination. So i would say the keyfile authentication is completely broken.

      PS: via plain ssh i can login with that keyfile.

      TRACE:

      [03/26/13 16:51:01] [SSH] Opening SSH connection to 192.168.0.24:22.
      [03/26/13 16:51:01] [SSH] Authentication failed.
      hudson.AbortException: Authentication failed.
      at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:907)
      at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:462)
      at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:224)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      [03/26/13 16:51:01] [SSH] Connection closed.

            ifernandezcalvo Ivan Fernandez Calvo
            rainerw Rainer Weinhold
            Votes:
            6 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: