1 Reply Latest reply on Oct 14, 2008 2:07 PM by Claus Ibsen

    camel-ftp - authentication of sftp server?

    David Sikter Newbie

      Hi,

       

      I'm working with camel and want to use the sftp component to drop a file on a server. I need to authenticate the server's identity by its public key. How do I do that??

       

      I was hoping that maybe the sftp component would look into the .ssh folder and fetch the public key from there and compare it with what the server offers, but apparently it does not matter if I change the keys in the file known_hosts, the camel-ftp component does not protest though trying to run sftp from the command prompt will no longer work.

       

      So I think the question is: where can I specify what public key to use for the sftp connection?

       

       

       

      Any help would be great, I'm under a quite narrow deadline!

      //Dave

       

      Edited by: dacapoalfine on Oct 10, 2008 12:04 PM