While I understand Go, I don't quite understand what the following command does in ssh
terminology:
ssh -N -C -D 8888 user@host.com
Doing this allows me to provide 127.0.0.1:8888
as a socks5 proxy to applications that support proxying.
This is not about port forwarding like other existing questions; this is about dynamic port forwarding.
How can I do a similar thing with Go's ssh package? I am trying to create a tunnel to bypass censorship.
Have you tried the command below ?
ssh -D 8888 -N -q user@host