You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Denis Cabasson (JIRA)" <ji...@codehaus.org> on 2006/07/05 09:36:22 UTC

[jira] Commented: (WAGONSSH-24) Add proxy support to SSH connections

    [ http://jira.codehaus.org/browse/WAGONSSH-24?page=comments#action_68953 ] 

Denis Cabasson commented on WAGONSSH-24:
----------------------------------------

I guess there is a check in the non-Proxy list missing in the code actually in SVN. I have te check out my proxy each time I'm doing a deployement of my site to an internal server.

https://svn.apache.org/repos/asf/maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/AbstractSshWagon.java

method openConnection()

(sorry can't submit patch from work)

> Add proxy support to SSH connections
> ------------------------------------
>
>          Key: WAGONSSH-24
>          URL: http://jira.codehaus.org/browse/WAGONSSH-24
>      Project: wagon-ssh
>         Type: New Feature

>     Versions: 1.0-alpha-5
>     Reporter: Jose Gonzalez Gomez
>  Attachments: WAGONSSH-24-bis.patch, WAGONSSH-24.patch
>
>
> The SSH wagon lacks support for connections made through HTTP/SOCKS proxies. I think this support shouldn't be difficult to add as the SSH wagon internally uses JSch, that provides support for these types of connections, as you may see in the following examples:
> http://www.jcraft.com/jsch/examples/ViaHTTP.java
> http://www.jcraft.com/jsch/examples/ViaSOCKS5.java
> AbstractWagon already has a proxyInfo field, so I think the proxy information could be extracted from here, and used as shown in the examples.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira