uselagoon / lagoon-cli

A CLI for Lagoon - Docker Build and Deploy System for Kubernetes
https://uselagoon.github.io/lagoon-cli
MIT License
24 stars 15 forks source link

Support for SSH proxy #207

Open ElijahLynn opened 2 years ago

ElijahLynn commented 2 years ago

Is your feature request related to a problem? Please describe. Hi, we are looking for SSH proxy support to specify a local proxy, e.g. 127.0.0.1:2001

Describe the solution you'd like Maybe a lagoon.yml config line with: proxy: socks5h://127.0.0.1:2001

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

tarikflz commented 5 months ago

I agree with you we need that feature

shreddedbacon commented 5 months ago

Can you try and use a proxy by exporting a HTTP_PROXY like so?

# obv set it to your socks proxy
export HTTP_PROXY="socks5://127.0.0.1:2001/"

I'm not sure if we will implement proxy support directly into the CLI if it can be worked around using the environment variable.

rocketeerbkw commented 3 months ago

Just noting that the cli now uses an internal go library for SSH, so the suggested HTTP_PROXY env var won't work anymore, if it ever did.

shreddedbacon commented 3 months ago

Just noting that the cli now uses an internal go library for SSH, so the suggested HTTP_PROXY env var won't work anymore, if it ever did.

? https://github.com/department-of-veterans-affairs/va.gov-cms/issues/6674#issuecomment-953909287