1

I am currently writing a shell script for automating. Manually, I will create a new session ssh.localhost.run by input Tunnel information on PuTTY like this

screenshot

Full steps:

  1. host name "ssh.localhost.run"
  2. go to Connection > SSH > Tunnels
  3. Source port 80, Destination is my IP's gate
  4. check on "Remote"

Is there a command that allows me to configure tunnels with source ports like the steps ?

5
  • You cant expect to click on links to read things. Why not put the essential steps here? Commented Feb 20, 2023 at 2:35
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Commented Feb 20, 2023 at 2:35
  • @RohitGupta the page doesn't allow me to embed a picture in, it forces me to put in a link, I will edit specifically
    – TriNguyen
    Commented Feb 20, 2023 at 2:45
  • Thats because of your reputation. However, I have made it inline. Commented Feb 20, 2023 at 5:16
  • It's not strictly speaking a "command" but a command-line SSH client. Here's Microsoft instructions how to run ssh in terminal. If that doesn't cover this, further instructions are easy to find by searching ssh tunneling or ssh port forwarding. Commented Feb 20, 2023 at 6:57

0

You must log in to answer this question.

Browse other questions tagged .