camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siano, Stephan" <>
Subject RE: sftp without passward, unable to connect
Date Thu, 31 Oct 2013 06:21:47 GMT

Are you using sftp or ftps? The ftpClient.keyStore.file is a Java keystore for using client
certificate based authentication with ftps (ftp over SSL), and your file is a private client
key for SSH (in a completely different format (that's why you get the error). For sftp (an
ftp-like protocol over ssh) you need to set the parameter privateKeyFile instead.

Best regards

-----Original Message-----
From: kalber [] 
Sent: Mittwoch, 30. Oktober 2013 16:54
Subject: RE: sftp without passward, unable to connect


yes i'm using private key to authenticate to the server. I add how you
suggest the uri options from ftps component as 
follow :
1. ftpClient.keyStore.file=/home/kalber/xx/id_rsa    
2. ftpClient.keyStore.password=password ( only to avoid null pointer, no
password need )

After this i get a Invalid keystore format.

Have i to configure out ftpClient.keyStore.type or 
ftpClient.keyStore.algorithm ?
I tried it with RSA but nothing works.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message