I have been using Putty on Windows to login to Linux machines for many years now. SSH with login password!

This morning I received a Private Key file to login to AWS for some experiment with Dockers. I know how to use private keys on Linux but on Windows?

ssh –I PATHTOKEY user@xyz.compute-1.amazonaws.com

In Putty, there is an option to provide Private key for authentication

image

However, this only accepts a Putty Private Key. What I received was an OpenSSH private Key

image

This OpenSSH key can be converted to Putty Private Key using Putty Key Generator Tool.

Run puttygen.exe, Load the OpenSSH ‘priv’ key file and click “Save private key”

image

This will save Putty private key (*.ppk) and it can be used for login.

Advertisements