Sunday, September 15, 2019

How to connect to AWS EC2 instance using putty

During the creation of EC2 instance in AWS, it will prompt us to create a new keypar/use an existing key pair. If we don't have any existing key pair, then in that case, we will create a new one and keep it safe in our repository.

The keypair format will be .pem format. Now putty only intercepts .ppk format. It doesn't recognize .pem format. To convert an .pem format to .ppk format, we will use puttygen.exe.



Click on load and navigate to the repository where .pem keypair is saved.


Now click on "Save Private key" and then "Save Public Key".

Once the keys are saved, open putty and then select the options as mentioned below.




If all goes all, we should get the login screen





Happy learning

No comments:

Post a Comment