sshwindows.sf.net: OpenSSH for Windows
Finally got around to setting up a SSH tunnel. I’m still running windows, but that’ll change soon. Apple confirmed the shipment of my iMac.
Anyway, setting up SSH has been a real pain in the ass, or perhaps I’m just stupid…
Anyway, install the above on your windows box…
Go to the install directory…
CD into the “bin” dir.
enter: mkgroup -l >> ..\etc\group
enter: mkpasswd -l -u “Your windows user name” >> ..\etc\passwd
Be a bit carefull with the user you are exporting remotely…
Now you can use any ssh client available with the mentioned user (PW same as in windows). Tunneling also works like a charm.
With the standard ssh client of sshwindows: ssh -L 80:[networkPrivateMachine]:80 [yourIp]
Now your can point a browser to your local machine (localhost). ssh tunnels it to the OpenSSH box at [yourIp] and forwards all request to [networkPrivateMachine] on your private network.
Check the docs on the mentioned site for details.