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

ssh shell command fails with "Too many authentication failures for ..." on ssh credentials plugin 1.11

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • ssh-credentials-plugin
    • Jenkins ver. 1.625.3.1 (CloudBees Jenkins Enterprise 15.11)
      Java 8
      RHEL 7
      SSH Credentials Plugin 1.11/1.10

      When executing a shell command like ssh to connect to a server (with ssh credentials plugin v1.11), the connection fails with:

      09:36:59 Authorized uses only. All activity may be monitored and reported.
      09:36:59 Permission denied, please try again.
      09:36:59 Permission denied, please try again.
      09:36:59 Received disconnect from xx.xx.xx.xx: 2: Too many authentication failures for xxx
      09:36:59 lost connection
      09:36:59 Build step 'Execute shell' marked build as failure
      09:36:59 [ssh-agent] Stopped.

      After downgrading to version 1.10 everything works fine.

          [JENKINS-32876] ssh shell command fails with "Too many authentication failures for ..." on ssh credentials plugin 1.11

          Kevin Rancka created issue -
          Kevin Rancka made changes -
          Environment Original: Jenkins ver. 1.625.3.1 (CloudBees Jenkins Enterprise 15.11)
          Java 8
          RHEL 7
          New: Jenkins ver. 1.625.3.1 (CloudBees Jenkins Enterprise 15.11)
          Java 8
          RHEL 7
          SSH Credentials Plugin 1.11/1.10
          Kevin Rancka made changes -
          Description Original: When executing a shell command like ssh to connect to a server, the connection fails with:

          09:36:59 Authorized uses only. All activity may be monitored and reported.
          09:36:59 Permission denied, please try again.
          09:36:59 Permission denied, please try again.
          09:36:59 Received disconnect from xx.xx.xx.xx: 2: Too many authentication failures for xxx
          09:36:59 lost connection
          09:36:59 Build step 'Execute shell' marked build as failure
          09:36:59 [ssh-agent] Stopped.

          After downgrading to version 1.10 everything works fine.
          New:  When executing a shell command like ssh to connect to a server (with ssh credentials plugin v1.11), the connection fails with:

          09:36:59 Authorized uses only. All activity may be monitored and reported.
          09:36:59 Permission denied, please try again.
          09:36:59 Permission denied, please try again.
          09:36:59 Received disconnect from xx.xx.xx.xx: 2: Too many authentication failures for xxx
          09:36:59 lost connection
          09:36:59 Build step 'Execute shell' marked build as failure
          09:36:59 [ssh-agent] Stopped.

          After downgrading to version 1.10 everything works fine.
          Stephen Connolly made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168573 ] New: JNJira + In-Review [ 209699 ]

            stephenconnolly Stephen Connolly
            krancka Kevin Rancka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: