Hi The SFTP knownhost file option was introduced in Camel 1.6.0 so I guess you could not use that option in Camel 1.5.0. So have you done anything on the endpoint URI to set this option or what?
Also the JSCH .jar is probably upgraded as well to a newer version so that could affect also. And could you try google the exception. Maybe there is a solution with JSCH to do this. On Fri, May 22, 2009 at 2:31 AM, harinair <[email protected]> wrote: > > Hi All: > > I upgraded to Camel 1.6.1 and I found that the SFTP component will not send > the file - it says something like "The authenticity of host 'xyz' can't be > established." > On delivery attempt: 0 caught: com.jcraft.jsch.JSchException: reject > HostKey: xyz > com.jcraft.jsch.JSchException: reject HostKey: xyz > > This works fine in 1.5. So my guess is that the 1.6.1 added special checks > to see if the host is in the known host file or something similar to that. > is there anyway to automatically accept the host? > > regards, > Hari > > > -- > View this message in context: > http://www.nabble.com/Camel-1.6.1-SFTP-Component-host-key-issue-tp23662618p23662618.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/ Twitter: http://twitter.com/davsclaus
