You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Colin Kabaara (JIRA)" <ji...@apache.org> on 2006/09/28 16:17:50 UTC

[jira] Created: (VFS-84) SFTP: proxy support

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


[jira] Resolved: (VFS-84) SFTP: proxy support

Posted by "Mario Ivankovits (JIRA)" <ji...@apache.org>.
     [ 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


[jira] Commented: (VFS-84) SFTP: proxy support

Posted by "Mario Ivankovits (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VFS-84?page=comments#action_12439300 ] 
            
Mario Ivankovits commented on VFS-84:
-------------------------------------

JFYI, there is no work in progress for this, so you are welcom to submit a patch :-)

> 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