I'd like to perform SSH tunneling on Windows. This is extremely trivial on Linux.
ssh -L 7456:someurl.com:7456 A.B.C.D:8080
This would cause SSH client to listen on 127.0.0.1:7456, and then connections on that port would be tunneled to the remote SSH server (A.B.C.D:8080) and then proxied to someurl.com:7456.
For some reason, I cannot find a similar way to accomplish this. Most people suggested putty, but the GUI makes no sense.
What on earth do I put on the fields to accomplish the same result?
Best Answer
You don't need to use the GUI to initiate a PuTTY connection. I actually prefer to just launch it from the Windows Run dialog or a powershell/cmd prompt most of the time.
The
Help
button in the screenshot you posted will open the PuTTY User Manual. In it, there's a whole section calledThe PuTTY command line
within the section calledUsing PuTTY
. Specifically, section 3.8.3.5 is all about port forwarding. From the manual:Based on your example, the command line would be something like this.
Also if you actually want to know how to use the GUI for setting up a tunnel, that's in section 4.25 called
The Tunnels panel
.