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

Jenkins 2.185 won't connect to SSH agents

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core
    • Jenkins 2.185, Ubuntu 16.04, OpenJDK 1.8.0, latest plugins (ssh-slaves 1.30)
    • Jenkins 2.186

      ERROR: Unexpected error in launching a agent. This is probably a bug in Jenkins.ERROR: Unexpected error in launching a agent. This is probably a bug in Jenkins.
      
      java.lang.IllegalArgumentException: Unknown server host key algorithm 'ssh-ed25519'
       at com.trilead.ssh2.transport.KexManager.checkServerHostkeyAlgorithmsList(KexManager.java:316)
       at com.trilead.ssh2.Connection.setServerHostKeyAlgorithms(Connection.java:1289)
       at hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:412)
       at hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:406)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java.lang.Thread.run(Thread.java:748)[07/14/19 22:07:00] Launch failed - cleaning up connection[07/14/19 22:07:00] [SSH] Connection closed.
      

      Plugins were updated three days ago and a restart of 2.184 went fine.

      Now I just updated to 2.185 and got the quoted "Unknown server host key algorithm 'ssh-ed25519'" messages with all agents (Linux and MacOS) offline.

      Probably something related to the recent 'trilead' changes?

       

      Workaround: Downgrade to previous version ('apt install jenkins=2.184').

            oleg_nenashev Oleg Nenashev
            j_adam Jens Adam
            Votes:
            22 Vote for this issue
            Watchers:
            37 Start watching this issue

              Created:
              Updated:
              Resolved: