Skip to content

Conversation

@dominikhei
Copy link
Contributor

closes: #43636

One can now add the key: host_proxy_cmd to the extra_options of the SSHHook.

This is the now preferred option of setting an external command. Only if the host_proxy_cmd attribute of the class is not set via the extra_options, it will be read from the hosts ~/.ssh/config.
I have also added a unit test for the new functionality.

If there is anything I should change / add, let me know.


@potiuk potiuk force-pushed the ssh-operator-extra-proxy-cmd branch from 57baa39 to 4f74c7a Compare November 28, 2024 00:41
@potiuk
Copy link
Member

potiuk commented Nov 28, 2024

You will need to fix tests

@eladkal
Copy link
Contributor

eladkal commented Dec 3, 2024

@dominikhei can you rebase and fix the tests?

@dominikhei
Copy link
Contributor Author

dominikhei commented Dec 3, 2024

@dominikhei can you rebase and fix the tests?

@eladkal Thank you for the reminder. I will fix it in the next few days!

@dominikhei dominikhei force-pushed the ssh-operator-extra-proxy-cmd branch from 50d9851 to 9e41a7c Compare December 9, 2024 09:51
@eladkal
Copy link
Contributor

eladkal commented Dec 9, 2024

Looks like this was already added in #44565

@dominikhei
Copy link
Contributor Author

Looks like this was already added in #44565

@eladkal Yes, didn't see the update in the original Issue.

@dominikhei dominikhei closed this Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSH/SFTP over socks proxy - host_proxy_cmd as extra param

3 participants