Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-172

Add proxy support to SSH connections

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-3
    • wagon-ssh
    • None

    Description

      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.

      Attachments

        1. WAGONSSH-24-bis.patch
          3 kB
          Scokart Gilles
        2. WAGONSSH-24.patch
          1 kB
          Scokart Gilles

        Issue Links

          Activity

            People

              brett Brett Porter
              jgonzalez.openinput@gmail.com Jose Gonzalez Gomez
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: