You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by geppo <ge...@gmail.com> on 2013/12/18 21:47:57 UTC
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.
RE: Annoying warning (SftpOperations - JSCH -> Permanently added
XXX to the list of known hosts)
Posted by geppo <ge...@gmail.com>.
Does anybody know how to get rid of the following message that keeps getting
logged over and over?
Kerberos username [xxxxxxx]:
--
View this message in context: http://camel.465427.n5.nabble.com/Annoying-warning-SftpOperations-JSCH-Permanently-added-XXX-to-the-list-of-known-hosts-tp5745014p5745826.html
Sent from the Camel - Users mailing list archive at Nabble.com.
RE: Annoying warning (SftpOperations - JSCH -> Permanently added
XXX to the list of known hosts)
Posted by geppo <ge...@gmail.com>.
Great answer siano!
That worked perfectly.
I'm still getting the following every minute, which is still a bit annoying,
but at least is much shorter and all in one line:
Kerberos username [xxxxxxx]: Kerberos username [xxxxxxx]: Kerberos username
[xxxxxxx]:
Thank you!
--
View this message in context: http://camel.465427.n5.nabble.com/Annoying-warning-SftpOperations-JSCH-Permanently-added-XXX-to-the-list-of-known-hosts-tp5745014p5745053.html
Sent from the Camel - Users mailing list archive at Nabble.com.
RE: Annoying warning (SftpOperations - JSCH -> Permanently added
XXX to the list of known hosts)
Posted by "Siano, Stephan" <st...@sap.com>.
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:gepporello@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.