Dead simple SSH tunnel for my Windows users

Solution 1:

Bundle PuTTY's plink.exe and a batch script that sets up the tunnel:

@plink -v -N -D 1234 user@host

Replace -D 1234 with your desired tunnel options (-D, -L, -R; syntax same as in OpenSSH). (According to comments, you need -L 25565:localhost:25565.)


To avoid users having to answer the SSH key verification prompt:

  1. export PuTTY's cached key to a .reg file:

    reg export HKCU\Software\SimonTatham\PuTTY\SshHostKeys hostkey.reg
    
  2. open hostkey.reg in Notepad;

  3. in the file, delete all other host keys except your Minecraft tunnel host;

  4. add @reg import hostkey.reg as the first line of your batch script.