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

Key-checking fix broke "Connect by process" mode

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • ec2-plugin
    • 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

          Jakub Bochenski created issue -
          Jakub Bochenski made changes -
          Link New: This issue relates to SECURITY-1528 [ SECURITY-1528 ]
          Jakub Bochenski made changes -
          Link New: This issue relates to SECURITY-1408 [ SECURITY-1408 ]
          Jakub Bochenski made changes -
          Link New: This issue relates to SECURITY-381 [ SECURITY-381 ]
          Jakub Bochenski made changes -
          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}}
          Jakub Bochenski made changes -
          Component/s New: ec2-plugin [ 15625 ]
          Component/s Original: job-dsl-plugin [ 16720 ]
          Jakub Bochenski made changes -
          Assignee Original: Daniel Spilker [ daspilker ] New: FABRIZIO MANFREDI [ thoulen ]
          Jakub Bochenski made changes -
          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}}
          Jakub Bochenski made changes -
          Environment New: Jenkins 2.235.4
          ec2-plugin 1.51

            thoulen FABRIZIO MANFREDI
            jbochenski Jakub Bochenski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: