Categories
How to set up a tunnel in golang?
How to set up an ssh tunnel on golang, which will be equal to this command:
plink.exe -ssh -R 185.58.205.245:9999:127.0.0.1:8080 185.58.205.245 -P 22 -C -N -l root -pw somepassword123
Answer the question
In order to leave comments, you need to log in
See https://golang.org/pkg/os/exec/#example_Cmd_Start
Here is an example
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question