This article will walk through to connect to the AWS cloud instance using putty software from windows laptop. If you use MAC OS or Linux OS , you could easily connect to the AWS instance using the downloaded *.pem key file from AWS Portal. pem key file format is not supported in windows ssh client – Putty. You must need to convert the pem file as ppk file using the putty keygen. Let’s quickly see that how to convert the private key which is in pem format to ppk format using putty keygen. At the last section , we will use the ppk file on putty ssh client to establish the session with Amazon AWS instance.
1. Download the putty keygen from internet if you don’t have it already.
2. Open the putty keygen . Click on “Load” tab.
3. Select the downloaded pem file. (If putty keygen is just looking ppk file, just select “All files” )
4. Save the private key which is converted in ppk format.
5. Open putty ssh client and enter the AWS EC2 instance public IP. Do not click on “open” tab.
6. Load the private key (which is converted using puttygen) from SSH tab. Click on Open.
7. Try to login as ec2-user. If you try with root user, you will get warning message like below.
8. You could use “sudo su – ” to gain the root access for the instance.
All the pubic could instances are using the private to add the additional security. Using the similar method, you should be able to connect to any public could instances once you have the public IP and private key file. Hope this article is informative to you.
Share it ! Comment it !! Be Sociable !!!
Leave a Reply