What does google say? Maybe the remote SFTP server does not accept your IP or something.
There are some parameters to SFTP to set a known hosts file etc. http://camel.apache.org/ftp.html On Tue, Jan 27, 2009 at 11:16 AM, Andriy Kro <andriy.kr...@gmail.com> wrote: > > Hi, > > I use such a configuration to poll our sftp-server: > > <route id="sftp_poller"> > <from > uri="sftp://t...@192.168.1.10/var/test/in?password=test&binary=true&consumer.delay=1000"/> > <to uri="file://c:/2"/> > </route> > > When I try to use it I got such error: > > [sftp://t...@192.168.1.10/var/test/in]: reject HostKey: 192.168.1.10 > com.jcraft.jsch.JSchException: reject HostKey: 192.168.1.10 > at com.jcraft.jsch.Session.checkHost(Session.java:700) > at com.jcraft.jsch.Session.connect(Session.java:307) > at com.jcraft.jsch.Session.connect(Session.java:150) > at > org.apache.camel.component.file.remote.SftpConsumer.connectIfNecessary(SftpConsumer.java:73) > at > org.apache.camel.component.file.remote.SftpConsumer.poll(SftpConsumer.java:96) > at > org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:66) > > How can I fix this? > -- > View this message in context: > http://www.nabble.com/SFTP.-HostKey-verification-error-tp21682724s22882p21682724.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/