Skip to end of metadata
Go to start of metadata

Generate Keys using PuTTY Key Generator

Generate keys using the PuTTY Key Generator (PUTTYGEN).

  1. Execute the PUTTYGEN.EXE program.
  2. Select the desired key type, "SSH2 DSA", within the "Parameters" section.
  3. Click on the "Generate" button.
  4. 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.
  5. Enter something for the key comment e.g. your email address.
  6. Enter the desired passphrase in the "Key passphrase" and "Confirm passphrase" fields.
  7. 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.
  8. Click on the "Save public key" button. Use the resulting dialog to save your public key data for sending to codehaus.
  9. 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!

  • No labels