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: [email protected] > For additional commands, e-mail: [email protected] > > > -- 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: [email protected] For additional commands, e-mail: [email protected]
