From user-return-22192-apmail-commons-user-archive=commons.apache.org@commons.apache.org Mon Dec 15 14:55:51 2008 Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 61414 invoked from network); 15 Dec 2008 14:55:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Dec 2008 14:55:51 -0000 Received: (qmail 30526 invoked by uid 500); 15 Dec 2008 14:55:58 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 30473 invoked by uid 500); 15 Dec 2008 14:55:58 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 30462 invoked by uid 99); 15 Dec 2008 14:55:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 06:55:58 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 14:55:44 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LCEqx-0003Eo-Jn for user@commons.apache.org; Mon, 15 Dec 2008 06:55:23 -0800 Message-ID: <21015310.post@talk.nabble.com> Date: Mon, 15 Dec 2008 06:55:23 -0800 (PST) From: lmk To: user@commons.apache.org Subject: Re: [VFS][SFTP] cannot connect to SFT server In-Reply-To: <21013844.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: lotfi65@yahoo.fr References: <21011512.post@talk.nabble.com> <21013844.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org 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??=20 lmk wrote: >=20 > I dont have a DNS server installed, the host cannot be found by name. >=20 >=20 > J=C3=B6rg Schaible-2 wrote: >>=20 >> Well, >>=20 >> lmk wrote at Montag, 15. Dezember 2008 11:35: >>=20 >>>=20 >>> Hi all, >>>=20 >>> 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 >>=20 >> [snip] >>=20 >>> 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 >>=20 >> 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? >>=20 >> - J=C3=B6rg >>=20 >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org >> For additional commands, e-mail: user-help@commons.apache.org >>=20 >>=20 >>=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/-VFS--SFTP--cannot-conn= ect-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