Well,

lmk wrote at Montag, 15. Dezember 2008 11:35:

> 
> Hi all,
> 
> I try vainly to use VFS to connect to SFTP server .
> I do the same as explained on
> http://wiki.apache.org/commons/SimpleSftpFileDownload wiki page

[snip]

> Caused by: com.jcraft.jsch.JSchException: UnknownHostKey: x.x.x.x
> at com.jcraft.jsch.Session.checkHost(Unknown Source)
> at com.jcraft.jsch.Session.connect(Unknown Source)
> at com.jcraft.jsch.Session.connect(Unknown Source)
> at
>
org.apache.commons.vfs.provider.sftp.SftpClientFactory.createConnection(SftpClientFactory.java:210)
> ... 6 more

VFS cannot connect, since the underlaying library (JSch) cannot find the
host "x.x.x.x". Can you try again with the real host name instead of an IP
address?

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org

Reply via email to