You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Graham Cruickshanks (JIRA)" <ji...@apache.org> on 2007/04/30 21:41:15 UTC
[jira] Created: (VFS-129) SFTP: proxy support with Username /
Password
SFTP: proxy support with Username / Password
--------------------------------------------
Key: VFS-129
URL: https://issues.apache.org/jira/browse/VFS-129
Project: Commons VFS
Issue Type: Improvement
Environment: All
Reporter: Graham Cruickshanks
Priority: Minor
Jsch supports tunnelling of connections via SOCKS or HTTP but the vfs implementation does not expose these parameters.
No current workaround other than to use the underlying jsch api directly :-(
Would consider submitting a patch for HTTP only if there isn't already work in progress on this ..
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Updated: (VFS-129) SFTP: proxy support with Username /
Password
Posted by "Graham Cruickshanks (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/VFS-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Graham Cruickshanks updated VFS-129:
------------------------------------
Description: SFTP proxy implementation does not have authenticator support, so can't tunnel through HTTP proxy via HTTPS port (443). (was: Jsch supports tunnelling of connections via SOCKS or HTTP but the vfs implementation does not expose these parameters.
No current workaround other than to use the underlying jsch api directly :-(
Would consider submitting a patch for HTTP only if there isn't already work in progress on this .. )
> SFTP: proxy support with Username / Password
> --------------------------------------------
>
> Key: VFS-129
> URL: https://issues.apache.org/jira/browse/VFS-129
> Project: Commons VFS
> Issue Type: Improvement
> Environment: All
> Reporter: Graham Cruickshanks
> Priority: Minor
>
> SFTP proxy implementation does not have authenticator support, so can't tunnel through HTTP proxy via HTTPS port (443).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Updated: (VFS-129) SFTP: proxy support with Username /
Password
Posted by "Vasily Ivanov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/VFS-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vasily Ivanov updated VFS-129:
------------------------------
Attachment: SftpClientFactory.java
amended to allow HTTP and SOCKS5 proxy authentication
> SFTP: proxy support with Username / Password
> --------------------------------------------
>
> Key: VFS-129
> URL: https://issues.apache.org/jira/browse/VFS-129
> Project: Commons VFS
> Issue Type: Improvement
> Environment: All
> Reporter: Graham Cruickshanks
> Priority: Minor
> Attachments: SftpClientFactory.java, SftpFileSystemConfigBuilder.java
>
>
> SFTP proxy implementation does not have authenticator support, so can't tunnel through HTTP proxy via HTTPS port (443).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Updated: (VFS-129) SFTP: proxy support with Username /
Password
Posted by "Vasily Ivanov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/VFS-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vasily Ivanov updated VFS-129:
------------------------------
Attachment: SftpFileSystemConfigBuilder.java
amended to accept proxy UserAuthenticator
> SFTP: proxy support with Username / Password
> --------------------------------------------
>
> Key: VFS-129
> URL: https://issues.apache.org/jira/browse/VFS-129
> Project: Commons VFS
> Issue Type: Improvement
> Environment: All
> Reporter: Graham Cruickshanks
> Priority: Minor
> Attachments: SftpClientFactory.java, SftpFileSystemConfigBuilder.java
>
>
> SFTP proxy implementation does not have authenticator support, so can't tunnel through HTTP proxy via HTTPS port (443).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Commented: (VFS-129) SFTP: proxy support with Username /
Password
Posted by "Vasily Ivanov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/VFS-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507733 ]
Vasily Ivanov commented on VFS-129:
-----------------------------------
I created a patch for this one. Attachments follow.
Here is an example:
FileSystemOptions opts = new FileSystemOptions();
SftpFileSystemConfigBuilder.getInstance().setProxyType(opts, SftpFileSystemConfigBuilder.PROXY_HTTP);
SftpFileSystemConfigBuilder.getInstance().setProxyHost(opts, "someproxyhost");
SftpFileSystemConfigBuilder.getInstance().setProxyPort(opts, someport);
SftpFileSystemConfigBuilder.getInstance().setPorxyUserAuthenticator(opts, new StaticUserAuthenticator(null, "proxyusername", "proxypassword"));
FileObject fo = VFS.getManager().resolveFile(someURI, opts);
...
> SFTP: proxy support with Username / Password
> --------------------------------------------
>
> Key: VFS-129
> URL: https://issues.apache.org/jira/browse/VFS-129
> Project: Commons VFS
> Issue Type: Improvement
> Environment: All
> Reporter: Graham Cruickshanks
> Priority: Minor
>
> SFTP proxy implementation does not have authenticator support, so can't tunnel through HTTP proxy via HTTPS port (443).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org