• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

UnixArena

  • Home
  • kubernetes
  • DevOps
    • Terraform
    • Jenkins
    • Docker
    • Openshift
      • OKD
    • Ansible engine
    • Ansible Tower
      • AWX
    • Puppet
  • Cloud
    • Azure
    • AWS
    • Openstack
    • Docker
  • VMware
    • vCloud Director
    • VMware-Guests
    • Vcenter Appliance 5.5
    • vC OPS
    • VMware SDDC
    • VMware vSphere 5.x
      • vSphere Network
      • vSphere DS
      • vShield Suite
    • VMware vSphere 6.0
    • VSAN
    • VMware Free Tools
  • Backup
    • Vembu BDR
    • Veeam
    • Nakivo
    • Azure Backup
    • Altaro VMBackup
    • Spinbackup
  • Tutorials
    • Openstack Tutorial
    • Openstack Beginner’s Guide
    • VXVM-Training
    • ZFS-Tutorials
    • NetApp cDot
    • LVM
    • Cisco UCS
    • LDOM
    • Oracle VM for x86
  • Linux
    • How to Articles
    • Q&A
    • Networking
    • RHEL7
  • DevOps Instructor-led Training
  • Contact

Amazon AWS – Connect to AWS instance using Putty – Part 12

October 15, 2017 By Cloud_Devops Leave a Comment

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.

Putty KeyGen
Putty KeyGen

 

3. Select the downloaded pem file.  (If putty keygen is just looking ppk file, just select “All files”  )

Load the Downloaded Pem Key file
Load the Downloaded Pem Key file

 

4. Save the private key which is converted in ppk format.

Save private key - AWS
Save private key – AWS

 

5. Open putty ssh client and enter the AWS EC2 instance public IP. Do not click on “open” tab.

Enter the AWS EC2 Instance IP
Enter the AWS EC2 Instance IP

 

6. Load the private key (which is converted using puttygen) from SSH tab. Click on Open.

Load the private Key prior to open the session
Load the private Key prior to open the session

 

7. Try to login as ec2-user. If you try with root user, you will get warning message like below.

Login as ec2-user
Login as ec2-user

 

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 !!!

Filed Under: AWS Tagged With: amazon web services, AWS, Cloud

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Follow UnixArena

  • Facebook
  • LinkedIn
  • Twitter

Copyright © 2025 · UnixArena ·

Go to mobile version