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

SSH plugin auth error on ver 2.5 (working on 2.4)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • ssh-plugin
    • None

      Hello,

       

      I've noticed that after upgrade the ssh plugin to latest version (2.5) jenkins has started to fail to login into remote machines using ssh keys (I've not tested user and pass). Until the upgrade was working without problem and when I've downgraded the plugin has started to work again (all other are updated).

      The keys i use are RSA (maybe is important) and the error I get is this:

      [SSH] Exception:Auth fail
          com.jcraft.jsch.JSchException: Auth fail
          at com.jcraft.jsch.Session.connect(Session.java:519)
          at org.jvnet.hudson.plugins.CredentialsSSHSite.createSession(CredentialsSSHSite.java:130)
          at org.jvnet.hudson.plugins.CredentialsSSHSite.executeCommand(CredentialsSSHSite.java:206)
          at org.jvnet.hudson.plugins.CredentialsSSHSite.executeCommand(CredentialsSSHSite.java:199)
          at org.jvnet.hudson.plugins.SSHBuildWrapper.executePreBuildScript(SSHBuildWrapper.java:94)
          at org.jvnet.hudson.plugins.SSHBuildWrapper.setUp(SSHBuildWrapper.java:77)
          at hudson.model.Build$BuildExecution.doRun(Build.java:157)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)
          at hudson.model.Run.execute(Run.java:1735)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:97)
          at hudson.model.Executor.run(Executor.java:415)
      Finished: FAILURE

      Greetings!!

       

            ljader Łukasz Jąder
            danixu86 Daniel Carrasco
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: