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

jenkins/jenkins:lts fails to ssh connect to EC2 instances

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: ec2-plugin
    • Labels:
      None
    • Environment:
      Linux Docker jenkins/jenkins:lts container (based on Debian 9/Stretch)
      Jenkins version 2.222.3
      EC2 Plugin 1.50.2
    • Similar Issues:
    • Released As:
      EC2 Plugin 1.50.3

      Description

      Due to the recent EC2 SSH Security change in 1.50.2, https://plugins.jenkins.io/ec2/#securing-the-connection-to-unix-amis

      The expectation is that the SSH connection supports use of StrictHostKeyChecking property with values off, accept-new, yes when connecting to a newly spawned node.

      Unfortunately Debian 9's ssh client does not support "off" or "accept-new" - it only supports yes/no, which means this plugin breaks in the LTS container.

      Workaround is to use jenkins/jenkins:lts-slim container which is based on Debian 10/Buster

       

        Attachments

          Issue Links

            Activity

            bdellegrazie Brett Delle Grazie created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Assignee FABRIZIO MANFREDI [ thoulen ] Oleg Nenashev [ oleg_nenashev ]
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            It duplicates JENKINS-62195 , fixed in the recent release

            Show
            oleg_nenashev Oleg Nenashev added a comment - It duplicates  JENKINS-62195 , fixed in the recent release
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue duplicates JENKINS-62195 [ JENKINS-62195 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
            Resolution Fixed [ 1 ]
            Released As EC2 Plugin 1.50.3
            oleg_nenashev Oleg Nenashev made changes -
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                bdellegrazie Brett Delle Grazie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: