Secure browser sessions by proxying through SSH
Tuesday, May 8th, 2007Download Putty and Puttygen
Run Puttygen
Create a private key; save it somewhere on your harddrive. Don’t bother with encrypting/passwording it.
Copy the public key (shown in the box) with Ctrl-C
Login to the server you want to proxy through, as normal, with Putty
Edit .ssh/authorized_keys - you may have to create the .ssh folder
Paste your public key on one long line into the file and then log out of the server
Load your Putty settings for the site
On the left, go to Connection -> Data and enter your username where it says “Autologin Username”
On the left, go to Connection -> SSH -> Auth, and select your private key
On the left, go to Connection -> SSH -> Tunnels, type source port 1080 (or whatever you want), …