• 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').

          [JENKINS-58483] Jenkins 2.185 won't connect to SSH agents

          Jens Adam created issue -
          Jens Adam made changes -
          Description Original: {quote}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.
          {quote}
          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?
          New: {quote}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.
          {quote}
          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 made changes -
          Assignee New: Ivan Fernandez Calvo [ ifernandezcalvo ]
          Oleg Nenashev made changes -
          Labels New: regression
          Oleg Nenashev made changes -
          Priority Original: Major [ 3 ] New: Blocker [ 1 ]
          Oleg Nenashev made changes -
          Link New: This issue is caused by JENKINS-43610 [ JENKINS-43610 ]
          Ivan Fernandez Calvo made changes -
          Link New: This issue is caused by JENKINS-43669 [ JENKINS-43669 ]
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-58494 [ JENKINS-58494 ]
          Oleg Nenashev made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/jenkins/pull/4111 (Web Link)" [ 23240 ]
          Oleg Nenashev made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/ssh-cli-auth-module/pull/10 (Web Link)" [ 23241 ]
          Oleg Nenashev made changes -
          Assignee Original: Ivan Fernandez Calvo [ ifernandezcalvo ] New: Oleg Nenashev [ oleg_nenashev ]

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

              Created:
              Updated:
              Resolved: