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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • ec2-plugin
    • None
    • Linux Docker jenkins/jenkins:lts container (based on Debian 9/Stretch)
      Jenkins version 2.222.3
      EC2 Plugin 1.50.2
    • EC2 Plugin 1.50.3

      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

       

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

              Created:
              Updated:
              Resolved: