Create a public key using putty so you can login via ssh key pair
Edited by Cave Man, Anonymous
To create an ssh key using putty you need to download the full putty suite. This procedure was not intuitive to me so I am writing out the exact steps for anyone to follow.
- 8Configure putty to use this new key for the "connection" you wish.Launch Putty.exe and "load" the profile you want to add the ssh key pair to. THIS IS IMPORTANT. YOU MUST LOAD THE PROFILE FIRST OR THE NEXT STEP DOESN'T WORK. Now choose Connection > SSH > Auth in the left pane of the window. Now click the browse button and select your puttyprivatekey.ppk file.
- 9Now save this key to your connection profile.Now here is where I got stuck. The only button I could see after that was the open button. You do not click this button. Instead go back to your connection under the session screen by clicking on Category > Session in the left pane. It will already be loaded from the previous step. (If you didn't load it, it's too late.. go back a step) Now click on "Save".
- 12If you added a password while creating your ssh key pair you must enter it now.Advertisement
Tips Tricks & Warnings
- Creating a ssh key pair without a password is both convenient but dangerous. Be sure to keep your private key very safe if you choose not to use a password!
- You can also configure putty to auto login as a particular user for complete login automation under the category "Connection > Data" in the left pane.
- If you have problems with any of these steps, ask a question for more help, or post in the comments section below.
Categories : Websites
Recent edits by: Cave Man