Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.14.4, 3.18.0
-
None
-
Tested with Apache Camel 3.17.0 and 3.18.0
-
Unknown
Description
When server requires ssh-dss host key algorithm it is not possible to configure sFTP camel component to use such key type, therefore connecting fails with "com.jcraft.jsch.JSchException: Algorithm negotiation fail".
When these two properties are added in debug mode:
session.setConfig("server_host_key", session.getConfig("server_host_key") + ",ssh-dss") session.setConfig("PubkeyAcceptedAlgorithms", session.getConfig("PubkeyAcceptedAlgorithms") + ",ssh-dss")
in SftpOperations class:
the connection is established successfully.
It should be possible to configure "server_host_key" and "PubkeyAcceptedAlgorithms" in camel sFTP component.
Attachments
Attachments
Issue Links
- links to