Enabling SSH Tunnel on Windows Startup
How to enable tunneling into given webservers on startup, on Windows, instead of having a PuTTY window open just for that purpose.
Step 1: Create PuTTY session that will be used for the tunnel
To work properly, your session must be authed via PPK, and not require any passphrase.
Step 2: Create a task in Task Scheduler
Windows -> Task Scheduler -> Create Task. The task must be set to "Run whether user is logged in or not" to avoid the command prompt window used to launch plink staying on the screen until the plink session ends.
Set condition to "On startup". Set action executable to plink (Usually in C:\Program Files\PuTTY\plink.exe), and arguments to -batch "<your PuTTY session name>". Enable run with highest privileges.
Run the task and test that the tunnel works correctly.