[
https://issues.apache.org/jira/browse/VFS-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553202#comment-13553202
]
Marco Ronchi commented on VFS-451:
----------------------------------
Gary, follow an extract of the regression test...
==============================================================================================================
Running org.apache.commons.vfs2.provider.sftp.test.SftpProviderTestCase
created threads still running:
#1: main pool-12-thread-1 not_a_daemon class
java.util.concurrent.ThreadPoolExecutor$Worker
#2: main pool-11-thread-1 not_a_daemon class
java.util.concurrent.ThreadPoolExecutor$Worker
#3: main pool-12-thread-2 not_a_daemon class
java.util.concurrent.ThreadPoolExecutor$Worker
#4: main pool-12-thread-3 not_a_daemon class
java.util.concurrent.ThreadPoolExecutor$Worker
#5: main pool-12-thread-4 not_a_daemon class
java.util.concurrent.ThreadPoolExecutor$Worker
Tests run: 87, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.285 sec
> 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: SimpleTest.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