Skip to content

SSH exec usage example #2

Answered by Vampire
devinodaniel asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, just wanted to rule out the obvious first. :-)
So, to be able to answer reliably I would need more information about your config.
But I just try to guess your setup.
It is like this I guess?

In that case you would configure the SSH tunnel build feature like

And the SSH Exec build step like

If you could use the remote.address and remote.port directly, you wouldn't need an SSH tunnel through the proxy, that's the whole point of an SSH tunnel.
You connect to the local.address and local.port, the SSH client that is listening there, forwards the connection via the SSH connection to proxy and connects to remote.address and remote.port from there as proxy is allowed to connect to target w…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Vampire
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2 on December 10, 2020 15:11.