You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benjamin Piwowarski (JIRA)" <ji...@apache.org> on 2012/06/15 15:18:42 UTC

[jira] [Created] (VFS-421) Allows Identity Repository for SFTP

Benjamin Piwowarski created VFS-421:
---------------------------------------

             Summary: Allows Identity Repository for SFTP
                 Key: VFS-421
                 URL: https://issues.apache.org/jira/browse/VFS-421
             Project: Commons VFS
          Issue Type: Improvement
    Affects Versions: 2.0
         Environment: Any
            Reporter: Benjamin Piwowarski
            Priority: Minor


The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/

This is usually done within jsch by calling

jsch.setIdentityRepository(repository);

If you are interested by such a functionality, I will modify the code and post a patch.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) Allows Identity Repository for SFTP

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396797#comment-13396797 ] 

Gary D. Gregory commented on VFS-421:
-------------------------------------

BSD (without advertising clause) is compatible with ASL2 according to http://www.apache.org/legal/resolved.html.

So, yes, please provide a patch for the tests.
                
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.patch
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) Allows Identity Repository for SFTP

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397524#comment-13397524 ] 

Gary D. Gregory commented on VFS-421:
-------------------------------------

Sorry (again): New files should include the Apache license header.
                
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Piwowarski updated VFS-421:
------------------------------------

    Attachment:     (was: identity.diff)
    
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) Allows Identity Repository for SFTP

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397514#comment-13397514 ] 

Gary D. Gregory commented on VFS-421:
-------------------------------------

The patch does not contain the class {{VFSIdentityRepositoryFactory}}.
                
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396845#comment-13396845 ] 

Benjamin Piwowarski commented on VFS-421:
-----------------------------------------

I included a test - actually by subclassing (I hope this is OK) rather than copying. The test just sets the default identity repository for sftp (so in practice, it does not change anything but simulates setting the identity repository).

I had to change the dependency to JSch 0.1.48 (from 0.1.42), since using a non default identity repository was introduced in 0.1.47, cf http://www.jcraft.com/jsch/ChangeLog
                
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.patch
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Comment Edited] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397354#comment-13397354 ] 

Benjamin Piwowarski edited comment on VFS-421 at 6/20/12 8:26 AM:
------------------------------------------------------------------

Hi Gary,

sorry for this - I had checked out a wrong version of VFS commons.

I adapted and improved the patch for the SVN version - using an identity repository factory (since an identity repository might need an existing JSch instance to get initialized). The patch has been updated on Jira.

Benjamin

                
      was (Author: bpiwowar):
    Hi Gary,

sorry for this - I had checked out a wrong version of VFS commons.

I adapted and improved the patch for the SVN version - using an identity repository factory (since an identity repository might need an existing JSch instance to get initialized).

Benjamin

                  
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) Allows Identity Repository for SFTP

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396802#comment-13396802 ] 

Gary D. Gregory commented on VFS-421:
-------------------------------------

Also, please remove code like:

System.err.println("Here " + System.getProperty(TEST_URI));

Thank you!

Gary
                
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.patch
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (VFS-421) [SFTP] Configure a custom Identity Repository

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory resolved VFS-421.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

Committed revision 1352134.
                
> [SFTP] Configure a custom Identity Repository
> ---------------------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>             Fix For: 2.1
>
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397528#comment-13397528 ] 

Benjamin Piwowarski commented on VFS-421:
-----------------------------------------

Done... Hope this everything is OK now.
                
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) Allows Identity Repository for SFTP

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295705#comment-13295705 ] 

Gary D. Gregory commented on VFS-421:
-------------------------------------

Feel free to provide a patch!

Please keep in mind that this needs to be testable.

So please also patch org.apache.commons.vfs2.provider.sftp.test.SftpProviderTestCase.

                
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Piwowarski updated VFS-421:
------------------------------------

    Attachment: identity.diff
    
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff, identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396790#comment-13396790 ] 

Benjamin Piwowarski commented on VFS-421:
-----------------------------------------

Hi,

I coded the changes, but providing a test for this is a bit more difficult, because the only IdentityRepository JSch provides is a package protected one. If I want to provide a patch, I need to copy a couple of files from JSch (BSD style license) into the sftp.test package - would this be OK? On the other hand, this is not a big patch and doesn't break anything (when testing sftp); after all, many authentication methods are not tested.

I attach the first version of the patch (without the test case).
                
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Piwowarski updated VFS-421:
------------------------------------

    Attachment: identity.diff
    
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397522#comment-13397522 ] 

Benjamin Piwowarski commented on VFS-421:
-----------------------------------------

Sorry, not used anymore to svn diff... the patch should be complete now.
                
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) Allows Identity Repository for SFTP

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396901#comment-13396901 ] 

Gary D. Gregory commented on VFS-421:
-------------------------------------

Hi Benjamin:

Trunk is already on JSch 0.1.48. 

The patch does not apply cleanly for me. Can you please make sure your trunk working copy is up to date and then crate the patch?

Thank you,
Gary
                
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.patch
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) [SFTP] Configure a custom Identity Repository

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397561#comment-13397561 ] 

Gary D. Gregory commented on VFS-421:
-------------------------------------

Thank you Benjamin!
                
> [SFTP] Configure a custom Identity Repository
> ---------------------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>             Fix For: 2.1
>
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Piwowarski updated VFS-421:
------------------------------------

    Attachment:     (was: identity.patch)
    
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.patch
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) Allows Identity Repository for SFTP

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397453#comment-13397453 ] 

Gary D. Gregory commented on VFS-421:
-------------------------------------

Hi Benjamin,

All new Java files MUST contain the Apache license header:

{code:java}
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
{code}

This is missing from {{IdentityRepositoryFactory.java}}.

This should be the last detail for you to address before I can apply the patch.

Thank you,
Gary
                
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Piwowarski updated VFS-421:
------------------------------------

    Attachment:     (was: identity.patch)
    
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.patch
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397454#comment-13397454 ] 

Benjamin Piwowarski commented on VFS-421:
-----------------------------------------

Done.
                
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff, identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Piwowarski updated VFS-421:
------------------------------------

    Attachment:     (was: identity.diff)
    
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Piwowarski updated VFS-421:
------------------------------------

    Attachment:     (was: identity.diff)
    
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) Allows Identity Repository for SFTP

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397456#comment-13397456 ] 

Gary D. Gregory commented on VFS-421:
-------------------------------------

I get this error now:

{noformat}
Description	Resource	Path	Location	Type
The import com.jcraft.jsch.VFSIdentityRepositoryFactory cannot be resolved	SftpProviderTestCase.java	/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/test	line 26	Java Problem
{noformat}
                
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397493#comment-13397493 ] 

Benjamin Piwowarski commented on VFS-421:
-----------------------------------------

I cannot reproduce this - I tried to clean and rebuild, and had no trouble. Could you tell me which steps you took?
                
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Piwowarski updated VFS-421:
------------------------------------

    Attachment: identity.diff
    
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Piwowarski updated VFS-421:
------------------------------------

    Attachment: identity.patch
    
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.patch
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VFS-421) [SFTP] Configure a custom Identity Repository

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated VFS-421:
--------------------------------

    Summary: [SFTP] Configure a custom Identity Repository  (was: Allows Identity Repository for SFTP)
    
> [SFTP] Configure a custom Identity Repository
> ---------------------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Piwowarski updated VFS-421:
------------------------------------

    Attachment: identity.patch
    
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.patch
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Piwowarski updated VFS-421:
------------------------------------

    Attachment:     (was: identity.patch)
    
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Piwowarski updated VFS-421:
------------------------------------

    Attachment: identity.patch
    
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.patch
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Piwowarski updated VFS-421:
------------------------------------

    Attachment: identity.diff
    
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VFS-421) Allows Identity Repository for SFTP

Posted by "Benjamin Piwowarski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397354#comment-13397354 ] 

Benjamin Piwowarski commented on VFS-421:
-----------------------------------------

Hi Gary,

sorry for this - I had checked out a wrong version of VFS commons.

I adapted and improved the patch for the SVN version - using an identity repository factory (since an identity repository might need an existing JSch instance to get initialized).

Benjamin

                
> Allows Identity Repository for SFTP
> -----------------------------------
>
>                 Key: VFS-421
>                 URL: https://issues.apache.org/jira/browse/VFS-421
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Benjamin Piwowarski
>            Priority: Minor
>              Labels: sftp, ssh-agent
>         Attachments: identity.diff
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The SFTP filesystems does not allow to use a custom Identity Repository, but this is needed to allows SSH authentication through an SSH agent, e.g. using http://www.jcraft.com/jsch-agent-proxy/
> This is usually done within jsch by calling
> jsch.setIdentityRepository(repository);
> If you are interested by such a functionality, I will modify the code and post a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira