gorilla/mux _but_ for SSH
@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 192.168.2.3
to set up a listening port ( :8081 ) on local machine that would tunnel traffic to 192.168.2.3
curl --socks5 localhost:8081 http://localhost:9100/metrics
and then use the tunnel ( localhost:8081 ) to connect to remote server ( 192.168.2.3 ) and access a localhost only webserver
Everyone is welcome as long as you follow our code of conduct! Thank you. Mastodon.cloud is maintained by Sujitech, LLC.