Hi,

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
Stephan

-----Original Message-----
From: kalber [mailto:karlheinz.al...@swslt.com] 
Sent: Mittwoch, 30. Oktober 2013 16:54
To: users@camel.apache.org
Subject: RE: sftp without passward, unable to connect

Hi,

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 java.io.IOException: Invalid keystore format.

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





-----
kh
--
View this message in context: 
http://camel.465427.n5.nabble.com/sftp-without-passward-unable-to-connect-tp5742397p5742412.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to