commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Ronchi (JIRA)" <>
Subject [jira] [Commented] (VFS-451) Authentication fails using private key
Date Tue, 15 Jan 2013 11:26:15 GMT


Marco Ronchi commented on VFS-451:

Hi Gary,
I tested the trunk and everything works.

I always used ssh-keygen and if you define an empty passphrase, it use as passphrase the OS
So, it sound to me strange to create Private Keys without passphrase.. but it is possible.

I didn't understand your comments at 01:34.

Finally, I've got a question.
In order to configure custom provider, I want to use an external file and not the one (providers.xml
) bound within jar.
I use the following code.

	FileSystemManager fsManager = new StandardFileSystemManager();

Is it the right way?


> Authentication fails using private key
> --------------------------------------
>                 Key: VFS-451
>                 URL:
>             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:,, 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:

View raw message