Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E550EBA2 for ; Mon, 14 Jan 2013 00:32:13 +0000 (UTC) Received: (qmail 72763 invoked by uid 500); 14 Jan 2013 00:32:12 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 72681 invoked by uid 500); 14 Jan 2013 00:32:12 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 72665 invoked by uid 99); 14 Jan 2013 00:32:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 00:32:12 +0000 Date: Mon, 14 Jan 2013 00:32:12 +0000 (UTC) From: "Marco Ronchi (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (VFS-451) Auth Fails using private key MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/VFS-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marco Ronchi updated VFS-451: ----------------------------- Attachment: (was: vfs-patch.txt) > Auth Fails using private key > ---------------------------- > > Key: VFS-451 > URL: https://issues.apache.org/jira/browse/VFS-451 > Project: Commons VFS > Issue Type: Bug > Affects Versions: 2.0 > Environment: windows as client > linux as ssh server > Reporter: Marco Ronchi > Assignee: Gary Gregory > Attachments: RunMe.java, vfs-patch-2.txt > > > Cannot connect to a ssh server with my private key. > I believe the issue is due to an JSCH bug. > Using the following lines: > session.setPassword(pass); > jsch.addIdentity(identityfile); > instead of > jsch.addIdentity(privateKeyFilePath,password); > authentication fails. > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira