-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
Jenkins 2.235.4
ec2-plugin 1.51
This change https://github.com/jenkinsci/ec2-plugin/commit/4c9f03ae202e4730fd54eda40771fa4d3873e358
results in:
[08/17/20 12:05:47] Launching agent $ ssh -o StrictHostKeyChecking=accept-new -i /tmp/ec2_2072915697250853303.pem admin@1.1.1.1 -p 22 java -jar /tmp/remoting.jar -workDir /opt/jenkins command-line line 0: unsupported option "accept-new".
accept-new is not a valid option for StrictHostKeyChecking, it can only be a yes|no|ask
[JENKINS-63412] Key-checking fix broke "Connect by process" mode
Link | New: This issue relates to SECURITY-1528 [ SECURITY-1528 ] |
Link | New: This issue relates to SECURITY-1408 [ SECURITY-1408 ] |
Link | New: This issue relates to SECURITY-381 [ SECURITY-381 ] |
Description |
Original:
{code}[08/17/20 12:05:47] Launching agent $ ssh -o StrictHostKeyChecking=accept-new -i /tmp/ec2_2072915697250853303.pem admin@1.1.1.1 -p 22 java -jar /tmp/remoting.jar -workDir /opt/jenkins{code} {{accept-new}} is not a valid option for {{StrictHostKeyChecking}}, it can only be a {{yes|no|ask}} |
New:
This change https://github.com/jenkinsci/ec2-plugin/commit/4c9f03ae202e4730fd54eda40771fa4d3873e358 results in: {code}[08/17/20 12:05:47] Launching agent $ ssh -o StrictHostKeyChecking=accept-new -i /tmp/ec2_2072915697250853303.pem admin@1.1.1.1 -p 22 java -jar /tmp/remoting.jar -workDir /opt/jenkins{code} {{accept-new}} is not a valid option for {{StrictHostKeyChecking}}, it can only be a {{yes|no|ask}} |
Component/s | New: ec2-plugin [ 15625 ] | |
Component/s | Original: job-dsl-plugin [ 16720 ] |
Assignee | Original: Daniel Spilker [ daspilker ] | New: FABRIZIO MANFREDI [ thoulen ] |
Description |
Original:
This change https://github.com/jenkinsci/ec2-plugin/commit/4c9f03ae202e4730fd54eda40771fa4d3873e358 results in: {code}[08/17/20 12:05:47] Launching agent $ ssh -o StrictHostKeyChecking=accept-new -i /tmp/ec2_2072915697250853303.pem admin@1.1.1.1 -p 22 java -jar /tmp/remoting.jar -workDir /opt/jenkins{code} {{accept-new}} is not a valid option for {{StrictHostKeyChecking}}, it can only be a {{yes|no|ask}} |
New:
This change https://github.com/jenkinsci/ec2-plugin/commit/4c9f03ae202e4730fd54eda40771fa4d3873e358 results in: {code}[08/17/20 12:05:47] Launching agent $ ssh -o StrictHostKeyChecking=accept-new -i /tmp/ec2_2072915697250853303.pem admin@1.1.1.1 -p 22 java -jar /tmp/remoting.jar -workDir /opt/jenkins command-line line 0: unsupported option "accept-new".{code} {{accept-new}} is not a valid option for {{StrictHostKeyChecking}}, it can only be a {{yes|no|ask}} |
Environment |
New:
Jenkins 2.235.4 ec2-plugin 1.51 |
sorry - wrong plugin label