org.apache.camel.component.file.GenericFileOperationFailedException: Cannot connect to sftp: at org.apache.camel.component.file.remote.SftpOperations.connect(SftpOperations.java:146) [camel-ftp-2.17.0.redhat-630187.jar:2.17.0.redhat-630187]
.....
Caused by: com.jcraft.jsch.JSchException: invalid privatekey: [B@3a25a6b6
at com.jcraft.jsch.KeyPair.load(KeyPair.java:664) [jsch-0.1.53.jar:]
at com.jcraft.jsch.KeyPair.load(KeyPair.java:561) [jsch-0.1.53.jar:]
at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:40) [jsch-0.1.53.jar:]
at com.jcraft.jsch.JSch.addIdentity(JSch.java:407) [jsch-0.1.53.jar:]
at com.jcraft.jsch.JSch.addIdentity(JSch.java:367) [jsch-0.1.53.jar:]
at org.apache.camel.component.file.remote.SftpOperations.createSession(SftpOperations.java:206) [camel-ftp-2.17.0.redhat-630187.jar:2.17.0.redhat-630187]
at org.apache.camel.component.file.remote.SftpOperations.connect(SftpOperations.java:115) [camel-ftp-2.17.0.redhat-630187.jar:2.17.0.redhat-630187]