tomaswolf commented on issue #881: URL: https://github.com/apache/mina-sshd/issues/881#issuecomment-3983522584
If you want to use MINA's support for HTTP proxies you'll have to create your own version of the MinaConnector that is set up correctly. Or give 3.0.0-M2 a try; it has built-in support for this: https://github.com/apache/mina-sshd/blob/dev_3.0/docs/client-setup.md#proxies . This works with all supported I/O transports (NIO2, MINA, or Netty). See also the integration tests at https://github.com/apache/mina-sshd/blob/dev_3.0/sshd-test/src/test/java/org/apache/sshd/client/proxy/ProxyHttpAuthIntegrationTest.java : basically you just set a ProxyDataFactory on the SshClient. If that ProxyDataFactory returns some proxy data for a given SSH server address, Apache MINA sshd will use that proxy to tunnel to the SSH server before starting the SSH protocol. We will not back-port that mechanism from the dev_3.0 branch into the 2.x (current) mainline. The new 3.0 will become the new mainline some time this year, after which 2.x will receive only critical fixes for some time. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
