camel-ssh fails when SSH server requires EdDSA certificate signing

Solution Verified - Updated -

Issue

When using the camel-ssh component to execute commands on an SSH server that requires EdDSA certificate signing, the following warning is logged:

2021-02-11 16:07:10,380 | WARN  | dec6]-nio2-thread-31 | .c.s.ResourceBasedSSHKeyVerifier | 1103 - org.apache.camel.camel-ssh - 2.21.0.fuse-770013-redhat-00001 | Could not find matching key for client session, connection will continue anyway due to configuration
2021-02-11 16:07:10,478 | WARN  | edec6]-nio2-thread-4 | .a.s.c.s.ClientConnectionService | 185 - org.apache.sshd.core - 1.7.0 | globalRequest(ClientConnectionService[ClientSessionImpl[iesb1006@esb-int1.foo.com/1.2.3.4:22]])[hostkeys-00@openssh.com, want-reply=false] failed (SshException) to process: EdDSA provider not supported

Despite the "WARN" designation, the error is fatal, and the command will not be executed on the SSH server.

Environment

  • Red Hat Fuse
    • 7.8 and earlier

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In