[
https://issues.apache.org/jira/browse/VFS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156832#comment-13156832
]
Gary D. Gregory commented on VFS-283:
-------------------------------------
Thank you for your submission.
The odds of considering this patch for inclusion go up tremendously if you
include unit tests in your patch :)
The trunk code runs SFTP unit tests with an embedded server, so you should be
able to test this for the use case you have in mind. You will likely need to
augment the embedded server set up for the security you have in mind or
possibly set up an additional test class.
Look at {{org.apache.commons.vfs2.provider.sftp.test.SftpProviderTestCase}} as
a starting point. Don't forget the edge cases! :)
Thank you,
Gary
> SFTP can not use private keys protected by pass phrase
> ------------------------------------------------------
>
> Key: VFS-283
> URL: https://issues.apache.org/jira/browse/VFS-283
> Project: Commons VFS
> Issue Type: Improvement
> Affects Versions: 1.0
> Environment: Java client running on Windows XP. OpenSSH server
> running on CentOS Linux.
> Reporter: Torben Putkonen
> Attachments: vfs-283.patch
>
>
> It is not possible to authenticate an SFTP connection with public key
> authentication if the private key is protected by a pass phrase.
> There is no code in org.apache.commons.vfs.provider.sftp.SftpClientFactory
> that deals with pas phrases.
--
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