Remote Port Forwarding
This is the exact opposite of local port forwarding, where any connection that reaches a port on a remote server is forwarded to a port on the local system.
Scenario/Goal
Let there be 2 systems - A,B,
A->B connections are restricted by a firewall or the server accepts only loopback requests
B->A SSH connection is possible
System B (Linux System)
System B (Windows System)
In the case of a Windows system, we can apply the same method using a tool meant for SSH in Windows - plink.exe
The first section of the command "/c echo y" is to pipe the answer to the prompt when the exe is executed. Without the first section you will have to interactive step to key in "y".
Last updated