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 14:55:23 GMT

I passed to the last version of jcraft I get more explicit exception:

UnknownHostKey: x.x.x.x. RSA key fingerprint is
0d:51:c6:7f:e1:84:5e:37:8b:93:29:bd:d4:d1:ba:79

how can I verify the host key?? 






lmk wrote:
> 
> 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-tp21011512p21015310.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