commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: [VFS][SFTP] cannot connect to SFT server
Date Mon, 15 Dec 2008 11:43:43 GMT
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-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message