commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (VFS-84) SFTP: proxy support
Date Tue, 03 Oct 2006 18:27:20 GMT
     [ http://issues.apache.org/jira/browse/VFS-84?page=all ]

Mario Ivankovits resolved VFS-84.
---------------------------------

    Resolution: Fixed

Should be fixed.

With the following example it should be possible to use a proxy server with sftp, though,
I couldnt test it as I have no such setup yet.
Could you please test it.

Thanks!

FileSystemOptions opts = new FileSystemOptions();
SftpFileSystemConfigBuilder.getInstance().setProxyHost(opts, "proxy.my.net");
SftpFileSystemConfigBuilder.getInstance().setProxyPort(opts, 8080);
SftpFileSystemConfigBuilder.getInstance().setProxyType(opts, SftpFileSystemConfigBuilder.PROXY_HTTP);
FileObject f1 = VFS.getManager().resolveFile("sftp://sftp.server.net", opts);

> SFTP: proxy support
> -------------------
>
>                 Key: VFS-84
>                 URL: http://issues.apache.org/jira/browse/VFS-84
>             Project: Commons VFS
>          Issue Type: Improvement
>         Environment: All
>            Reporter: Colin Kabaara
>            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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message