Hi,

Well, the best way to get rid of this warning is to provide the host key as a 
known hosts to the sftp endpoint. Essentially the warning means that the 
endpoint does not know the public key of the SFTP server, so it cannot verify 
that the server it is communicating with is really the server it seems to be.

Unfortunately the warning is also a bit misleading. Jsch cannot really store 
the known hosts in the SFTP endpoint configuration, therefore the "permanently" 
part of "permanently added" is wrong (that's why you get this warning again and 
again).

Best regards
Stephan

-----Original Message-----
From: geppo [mailto:geppore...@gmail.com] 
Sent: Mittwoch, 18. Dezember 2013 21:48
To: users@camel.apache.org
Subject: Annoying warning (SftpOperations - JSCH -> Permanently added XXX to 
the list of known hosts)

Hi,
I have a Camel route that requires SFTP.
Everything works perfectly fine, but I get this annoying warning every
minute in the logs and I don't know how to get rid of it. Any suggestion?

WARN SftpOperations - JSCH -> Permanently added XXX to the list of known
hosts



--
View this message in context: 
http://camel.465427.n5.nabble.com/Annoying-warning-SftpOperations-JSCH-Permanently-added-XXX-to-the-list-of-known-hosts-tp5745014.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to