You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/08/10 10:54:00 UTC

[jira] [Resolved] (CAMEL-18378) SFTP serverHostKeys-parameter is unknown

     [ https://issues.apache.org/jira/browse/CAMEL-18378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-18378.
---------------------------------
    Fix Version/s: 3.18.1
       Resolution: Information Provided

Its in 3.18.1 release that is GA soon

> SFTP serverHostKeys-parameter is unknown
> ----------------------------------------
>
>                 Key: CAMEL-18378
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18378
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-sftp
>    Affects Versions: 3.18.0
>            Reporter: Pär-Johan Lif
>            Priority: Major
>             Fix For: 3.18.1
>
>
> Camel 3.18.0 (and 3.14.4)
> When calling an SFTP-endpoint I get the following exception:
> org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: sftp://localhost:10022/forsendelser/?fileName=myfile&knownHosts=%23sftpKnownHosts&privateKey=xxxxxx&serverHostKeys=ssh-rsa%2Crsa-sha2-512%2Crsa-sha2-256%2Cecdsa-sha2-nistp256%2Cecdsa-sha2-nistp384%2Cecdsa-sha2-nistp521&useUserKnownHostsFile=xxxxxx&username=xxxxxx due to: Failed to resolve endpoint: sftp://localhost:10022/forsendelser/?fileName=myfile&knownHosts=%23sftpKnownHosts&privateKey=xxxxxx&serverHostKeys=ssh-rsa%2Crsa-sha2-512%2Crsa-sha2-256%2Cecdsa-sha2-nistp256%2Cecdsa-sha2-nistp384%2Cecdsa-sha2-nistp521&useUserKnownHostsFile=xxxxxx&username=xxxxxx due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[\{serverHostKeys=ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521}]
> According to the documentation "serverHostKeys" should be supported
> https://camel.apache.org/components/3.18.x/sftp-component.html



--
This message was sent by Atlassian Jira
(v8.20.10#820010)