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

SSH using invalid HostKeyAlgorithms value of EC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ec2-plugin
    • None
    • Jenkins 2.516.2
      Amazon EC2 plugin Version 2029.v50458f410ef9

      Upon upgrading Jenkins, the Amazon EC2 plugin and the SSH Build Agents plugin, I now cannot launch a node as Jenkins fails to install the agent.

      The relevant error in the log is this:

      [09/09/25 14:07:00] Launching agent
      $ ssh -o StrictHostKeyChecking=accept-new -o "UserKnownHostsFile=/tmp/ec2_7262774302005659660_known_hosts" -o "HostKeyAlgorithms=EC" -i /tmp/ec2_8472504361240753226.pem ubuntu@10.2.1.59 -p 22  /usr/bin/java  -jar /tmp/remoting.jar -workDir /var/jenkins
      command-line line 0: Bad key types 'EC'.
      ERROR: Unable to launch the agent for EC2 (v12 Build) - Ubuntu Build Agent (i-0e3a65ba44d58a9c1)

      The full launch log is attached.

      Reverting the EC2 plugin to 2018.vc13c882e22db_ fixed the functionality.

            allan_burdajewicz Allan BURDAJEWICZ
            peter_k Peter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: