Generate Keys using PuTTY Key Generator
Generate keys using the PuTTY Key Generator (PUTTYGEN).
- Execute the PUTTYGEN.EXE program.
- Select the desired key type, "SSH2 DSA", within the "Parameters" section.
- Click on the "Generate" button.
- Follow the instruction to move the mouse over the blank area of the program in order to create random data used by PUTTYGEN to generate secure keys. Key generation will occur once PUTTYGEN has collected sufficient random data.
- Enter something for the key comment e.g. your email address.
- Enter the desired passphrase in the "Key passphrase" and "Confirm passphrase" fields.
- Click on the "Save private key" button. Use the resulting dialog to save your private key data for future use. Enter a filename - the .ppk extension is used for PuTTY Private Key files.
- Click on the "Save public key" button. Use the resulting dialog to save your public key data for sending to codehaus.
- Exit the PuTTY Key Generator (PUTTYGEN).
Initialise PuTTY Authentication Agent
Run the PuTTY Authentication Agent (PAGEANT) and add your private key file (generated and saved above).
Connect using PuTTY
Just a quick how-to for setting up putty to connect on
Start a new session. In the
Session screen set the protocol to
SSH and the host to
Next, in the
Connection screen, set your username for auto-login :
Set the preferred SSH version to SSH-2 in the
Connection/SSH screen :
Uncheck all settings in the
Connection/SSH/Auth screen :
Then go back to the
Session screen and save your session for future use :
(Give your session a name, the name of the host or user@host for example, and hit the save button)
Yes, this guide is brief. If you don't like it, you are duty bound to improve it!