@miek what about using the ssh connection as a socks proxy?

@bradbeam how does that help (I know little about socks).
(I want ssh here, for the auth feature btw)

@miek establish the ssh connection first and the tunnel the http traffic through it via SOCKS_PROXY env var

as in something like
ssh -v -CqND 8081
to set up a listening port ( :8081 ) on local machine that would tunnel traffic to
curl --socks5 localhost:8081 http://localhost:9100/metrics
and then use the tunnel ( localhost:8081 ) to connect to remote server ( ) and access a localhost only webserver


@bradbeam ah. Yes. But i control the client too, so I can just make it talk ssh too.

Sign in to participate in the conversation

Everyone is welcome as long as you follow our code of conduct! Thank you. Mastodon.cloud is maintained by Sujitech, LLC.