I am trying to chain two PuTTY sessions together, if possible. I was trying to setup a multihop SSH session to a Linux machine that is behind my router.
I have two PuTTY sessions saved. The first establishes an SSH tunnel to my router and creates a local tunnel to the Linux machine that is located on the network. The second session is a SSH session to localhost using the tunnel that was previously brought up with the first session. This works, however it requires me to launch the first session, and then the second to reach my machine.
Is there a way I can chain the two sessions together? Can I execute the first that calls the second automatically?