How to access EC2 instance using puTTY
What you will learn here about AWS EC2 instance access using puTTY
- How to access EC2 instance using puTTY
In order to access EC2 instance using puTTY first, you need to create an EC2 instance. If you do not know how to create an EC2 instance on AWS please visit the following link.
AWS create ec2 instance on AWS
How to access EC2 instance using puTTY
Please follow the following steps to know How to access EC2 instance using puTTY
1)Assuming you have created an EC2 instance on AWS
2)Now please open the PuTTy key generator. If you do not have a PuTTy key generator and PuTTY then please click on the following link to install the PuTTy key generator and PuTTY.
3)Now please follow the following steps to generate the private key which is shown below
- Open the PuTTY key generator
- Click on Load
- Select All Files option which is shown below
- Select downloaded your private key .pem file.
- Click on Open
4)Now please follow the following steps to save the private key which is shown below
- Please click on OK if it is asking while loading the private key file
- Click on Save private key
5)If you are getting any warning while saving the file then please click on Yes which is shown below.
6)Now please select the path where you want to save the Private key and enter the file name which is shown below
7)Now please open the puTTY
8)Now please follow the following steps to access EC2 instance
- Click on Session
- Enter Host Name as the public IP address of EC2 instance or Public DNS of EC2 instance
- Now please click on Connection -> SSH -> Auth which is shown below
- Now browse the saved private key which is shown below
- Click on Open
9)Once you click on Open, It will ask you for Security Alert, So please click on Yes which is shown below
10)Once you click on Yes, It will as for username to login. So please enter the Username. Default username for ubuntu EC2 instance is ubuntu which is shown below.