Re: SFTP fails after upgrade to Camel 3.18.0

2022-08-10 Thread Claus Ibsen
Hi I think you need Camel 3.18.1 as they are added very recently (CAMEL-18264) On Wed, Aug 10, 2022 at 6:39 PM Jeremy Ross wrote: > Also, there are endpoint parameters for these settings, but I can't get > camel to accept them: > > There are 2 parameters that couldn't be set on the endpoint. C

Re: SFTP fails after upgrade to Camel 3.18.0

2022-08-10 Thread Jeremy Ross
This was on Java 11 btw. On Wed, Aug 10, 2022 at 11:38 AM Jeremy Ross wrote: > Also, there are endpoint parameters for these settings, but I can't get > camel to accept them: > > There are 2 parameters that couldn't be set on the endpoint. Check the uri > if the parameters are spelt correctly an

Re: SFTP fails after upgrade to Camel 3.18.0

2022-08-10 Thread Jeremy Ross
Also, there are endpoint parameters for these settings, but I can't get camel to accept them: There are 2 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=[{publicKeyAcceptedAlgorit

Re: SFTP fails after upgrade to Camel 3.18.0

2022-08-09 Thread Claus Ibsen
On Tue, Aug 9, 2022 at 10:37 PM Jeremy Ross wrote: > I had to enable ssh-rsa keys and the following to KEXs that the server > supported. Added this to a static block in my application. > > JSch.setConfig("server_host_key", JSch.getConfig("server_host_key") + > ",ssh-rsa"); > JSch.setConfig("Pubke

Re: SFTP fails after upgrade to Camel 3.18.0

2022-08-09 Thread Jeremy Ross
I had to enable ssh-rsa keys and the following to KEXs that the server supported. Added this to a static block in my application. JSch.setConfig("server_host_key", JSch.getConfig("server_host_key") + ",ssh-rsa"); JSch.setConfig("PubkeyAcceptedAlgorithms", JSch.getConfig( "PubkeyAcceptedAlgorithms"

Re: SFTP fails after upgrade to Camel 3.18.0

2022-07-24 Thread Claus Ibsen
Hi Did you find out about the algorithms with the newer JAR or did you just keep using the old JSCH client? I think feedback here is valuable for other users. And we should add a note in the 3.18 upgrade guide about this so others can take notice ahead of time before upgrading. https://camel.apac

Re: SFTP fails after upgrade to Camel 3.18.0

2022-07-13 Thread Grzegorz Grzybek
Hello https://issues.apache.org/jira/browse/CAMEL-17835 issue was about switching from unmaintained version of jsch to new forked version with more (safer) alogorithms supported (like SHA2 and eddsa). You'd have to enable server side and Camel debug logging to check which KEX algorithms are prese

SFTP fails after upgrade to Camel 3.18.0

2022-07-13 Thread Reto Peter
Hi In Camel 3.16.0 we did successfully use the SFTP component like this: from("sftp://{{sftp.host}}:{{sftp.port}}/{{sftp.remotedir.from.customer}}"; + "?username={{sftp.username}}" + "&password={{sftp.password}}" + "&u