commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmk <lotf...@yahoo.fr>
Subject Re: [VFS][SFTP] cannot connect to SFT server
Date Mon, 15 Dec 2008 13:20:43 GMT

I dont have a DNS server installed, the host cannot be found by name.


Jörg Schaible-2 wrote:
> 
> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-VFS--SFTP--cannot-connect-to-SFT-server-tp21011512p21013844.html
Sent from the Commons - User mailing list archive at Nabble.com.


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


Mime
View raw message