How to connect to an EC2 instance using Putty

You created an EC2 instance and got private key (with PEM extension)from Amazon. Now, how you can login to your instance with PuTTY? For this, you need to convert the .PEM to .PPK format using Puttygen.

Run Puttygen:

Click on the Load button:

Locate your PEM file that you want to convert:

Putty will convert the .PEM  to .PPK format:

Select “Save Private Key” (passphrase is not required):

Launch Putty and enter the Instance IP address:

Navigate to Connection -> SSH -> Auth, Click “Browse” and select the .PPK file and Click “Open“:

When connection comes up enter username (default is ubuntu for Ubuntu and root for CentOS):

Hope this will help you!

Please Remember me in your prayers!

Enjoy :-)

2 responses to “How to connect to an EC2 instance using Putty

  1. Pingback: {Workaround}how to get access to the server, when Amazon EC2 private key lost | Thoai Media

  2. Pingback: How to get access to the server, when Amazon EC2 private key lost | shashanksingh24

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: