Puttygen raspberry pi

puttygen2Below I will outline how to automatically log into your Raspberry Pi from a Windows PC using Putty. This requires the setup of SSH keys, which is very easy to do.
  1. Create SSH keys.
    Download Puttygen from here and run it.
    Once open, click on Generate and move your mouse around to generate your SSH keys.
  2. Now click Save Private Key and save the key to your local drive.If you getting a warning about saving the key without a passprase, just click yes.
  3. log into your Raspberry Pi and create the authorization file, puttygen4pi@raspberrypi ~ $sudo nano /home/pi/.ssh/authorized_keys
  4. It should look like this. Then ALT-X to exit and save.
  5. Open up Putty and add in the IP address for your Raspberry Pi and make sure that SSH is selected.
  6. Within Putty, on the left hand side, expand connection and SSH and select Auth. In the path for Private Key for authentication select the the private key we saved earlier.
  7. We now need to add the user name to log in with.
    On the left hand side, select connection and then Data.
    Enter pi as the username.
  8. Go back to the main screen and save the session.
  9. Now select Open to log into your Rasspberry Pi automatically. No need to enter username or password. The first time you log in you will be asked to accept the key.
puttygen3 putty2 putty1 putty3

Puttygen passphrase

Puttygen.exe help

Puttygen load private key

Puttygen rsa private key