[ 
https://issues.apache.org/jira/browse/CAMEL-11611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125558#comment-16125558
 ] 

ASF GitHub Bot commented on CAMEL-11611:
----------------------------------------

GitHub user sdirbach opened a pull request:

    https://github.com/apache/camel/pull/1887

    #CAMEL-11611 - Add a knownHosts option to the camel-ssh component

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sdirbach/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1887.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1887
    
----
commit 741e4cd8a9cac1ac90c3f2a7f588262852648969
Author: sdirbach <[email protected]>
Date:   2017-08-14T11:25:30Z

    #CAMEL-11611 - Add a knownHosts option to the camel-ssh component

----


> Add a knownHosts option to the camel-ssh component
> --------------------------------------------------
>
>                 Key: CAMEL-11611
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11611
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-ssh
>    Affects Versions: Future
>         Environment: Any.
>            Reporter: Daniel U. Thibault
>            Priority: Minor
>              Labels: known_hosts, ssh
>             Fix For: Future
>
>
> Currently, when one uses camel-ssh to connect to some server, one gets this 
> message:
> [sshd-SshClient[5be46f9d]-nio2-thread-1] WARN 
> org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at 
> /<host>:<port> presented unverified EC key: ...
> This is an annoyance that would readily be gotten rid of by adding a 
> knownHosts option similar to certResource:
> * name: knownHosts
> * default value: null
> * description: Path reference to a the list of known hosts public key 
> certificates (typically ~/.ssh/known_hosts). Prefix path with classpath:, 
> file:, or http:.
> This value would be used by StaticServerKeyVerifier.java to avoid issuing the 
> warning (as appropriate). com.jcraft.jsch.JSch uses this through its 
> setKnownHosts method.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to