Monday 24 August 2020

How to SSH into your EC2 instance from windows machine

 1. download and install putty.

2.provide either public ip or public DNS details in the below highlighted field along with user details.

         ex1: ec2-user @<public_ip_of_remote_AWS_system>   

                      here: ec2-user is user in the remote system.

                ex2:    root@ <public_ip_of_remote_AWS_system>

                      here: root is the user in the remote system.

       


3.To set up the private key. Navigate to SSH -->Auth as shown below.

4.Click on Browse now.


Note: putty only supports - ppk files


5.open puttygen by pressing windows key and search for puttygen. once after loading puttygen tool click on load option.

6.Provide the path for private_key.pem file. which is obtained at the time EC2 instance launch.


7. the result for step6,will generate one PPK file. Provide this PPK file in Step 4.That's all. Provide  description and save the entry in step4.

No comments:

Post a Comment