Using putty to connect to AWS EC2 Linux servers is relatively straight forward but no obvious as AWS gives a Linux compatible certificate (.pem) file which don’t work with putty. So all we need to do is convert it to a ppk file that putty likes. First we need a few things:
PuttyGen your certificate you want to convert(.pem) First you will need a program called puttygen. The easiest way to get this is to download the putty installer which can be downloaded here. This will install the putty suite, so you can do some administrative task through SSH. Next we need the certificate (.pem) from AWS, you should already have this as it can only be downloaded once! Now that we have putty and puttygen and the certificate. We can do the conversion.
You won’t see any files as the open dialog is set to only look for .ppk files make sure you change the file dropdown so it says all files.
You should see your .pem files now click on the file and click open.
You should get this dialog now
Click ok and then click save private key.
It will give you this dialog it’s up to you if you can to password protect the file.
Say yes to this is you don’t want to password protect this.
It will ask you where to save the file.
Now we’ll say if it works with putty now.
Enter the ip of the server you want to connect to. Next expand ssh then click auth then click browse to the file that we created earlier.
Enter username and if it lets you in that’s it converted successfully