Hi Daniel, It seems in camel-ssh component, the ssh sessions and channels should be created with right options to enforce known_hosts awareness. Not sure if this is supported yet.
For now it seems, keyverifier somehow passes through the lines as below. https://github.com/apache/mina-sshd/blob/master/sshd-core/src/main/java/org/apache/sshd/client/keyverifier/StaticServerKeyVerifier.java#L59 Feel free to dive into camel-ssh and after finding out such option for known_hosts required, please log a JIRA and welcome to provide a github PR. On Wed, Jul 26, 2017 at 12:25 AM, Daniel.Thibault < daniel.thiba...@drdc-rddc.gc.ca> wrote: > Using Camel-ssh, every time I connect to an ssh target, I have this > message: > > [sshd-SshClient[5be46f9d]-nio2-thread-1] WARN > org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at > /<host>:<port> presented unverified EC key: ac:...:6a > > Is there any way to get rid of this? I'd have expected a known_hosts > option > for camel-ssh, but there isn't one. > > Daniel U. Thibault, M.Sc.² > Computer Scientist, MCCS-SPC, Valcartier Research Centre Defence > Research and Development Canada / Government of Canada > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Problem-with-ssh-under-camel-2-19-0-tp5806940p5807917.html > Sent from the Camel - Users mailing list archive at Nabble.com. >