Saturday, February 20, 2016

Generating SSH Keys in PuTTY

Open the PuTTYgen file under the full PuTTY installation
Generate your key by moving mouse around in the blank area
It’s usually recommended to add the key passphrase as well. This key was only generated for this tutorial.
Save the private key within the PuTTY directory (.ppk) by clicking the button on the right






Save the public key by clicking the left button






Now open up PuTTY and load one of your saved sessions


Now go to Connection > SSH > Auth and point to the my_private_ppk file in “Private key file for authentication:”


Now go back to up to Session and save this in the configuration:


If there isn’t already a .ssh directory in your home directory on 1sample.internet.com, make one.
Now open a command prompt, and navigate to the PuTTY directory and you can execute the following command:

It can be copied and pasted here: