[JIRA] (JENKINS-62234) jenkins/jenkins:lts fails to ssh connect to EC2 instances

18 views
Skip to first unread message

brett.dellegrazie@gmail.com (JIRA)

unread,
May 10, 2020, 4:38:03 PM5/10/20
to jenkinsc...@googlegroups.com
Brett Delle Grazie created an issue
 
Jenkins / Bug JENKINS-62234
jenkins/jenkins:lts fails to ssh connect to EC2 instances
Issue Type: Bug Bug
Assignee: FABRIZIO MANFREDI
Components: ec2-plugin
Created: 2020-05-10 20:37
Environment: Linux Docker jenkins/jenkins:lts container (based on Debian 9/Stretch)
Jenkins version 2.222.3
EC2 Plugin 1.50.2
Priority: Minor Minor
Reporter: Brett Delle Grazie

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

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages