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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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!!

       

        Attachments

          Activity

          danixu86 Daniel Carrasco created issue -
          danixu86 Daniel Carrasco made changes -
          Field Original Value New Value
          Description Hello,

           

          I've noticed that after upgrade the ssh plugin to latest version (2.5) jenkins 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 error I get is:
          {noformat}
          [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{noformat}
          Greetings!!

           
          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 error I get is:
          {noformat}
          [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{noformat}
          Greetings!!

           
          danixu86 Daniel Carrasco made changes -
          Description 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 error I get is:
          {noformat}
          [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{noformat}
          Greetings!!

           
          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:
          {noformat}
          [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{noformat}
          Greetings!!

           
          ljader Łukasz Jąder made changes -
          Assignee Łukasz Jąder [ ljader ]
          ljader Łukasz Jąder made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          danixu86 Daniel Carrasco made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          danixu86 Daniel Carrasco made changes -
          Attachment Captura de pantalla de 2017-07-30 10-55-27.png [ 39074 ]
          Attachment Captura de pantalla de 2017-07-30 11-00-19.png [ 39075 ]
          danixu86 Daniel Carrasco made changes -
          Attachment Captura de pantalla de 2017-07-30 10-55-27.png [ 39074 ]
          danixu86 Daniel Carrasco made changes -

            People

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

              Dates

              Created:
              Updated:
              Resolved: