You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "tomaswolf (via GitHub)" <gi...@apache.org> on 2026/03/02 10:33:54 UTC
Re: [I] Not Able to connect via proxy [mina-sshd]
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: dev-unsubscribe@mina.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org