PuTTY using key-pair authentication

From Ever changing code
Jump to navigation Jump to search

Configure PuTTY

  • Open putty, name the new session here London admin and add host/IP. In the example below it is london.remote.access.com server, then press save. The new connection London admin will be created.
Create new session
  • Optionally enter Auto-login username, example admin in Connection > Data section.
username auto-login
  • Choose private key used for authentication. Go to Category Connection > Auth and press Browse.
  • Full content of the file can be stored in the company Password Safe in notes. Copy all notes into text editor and saving with PPK extension will re create the needed file.
copy key-pair from Password Safe notes
  • Save session by going to Category: Session and press Save.


Open PuTTY, press load London admin, you should not be asked for username

Open ssh session to the server

Enter 'Passphrase for key' that is password used to code the private-key. It was chosen at the time of key-pair creation. After then you will be logged in without any additional prompt for the username password.

Export putty config

regedit /e "%userprofile%\desktop\putty-registry.reg" HKEY_CURRENT_USER\Software\Simontatham

The regex file will be created and you can replay it at another machine.