Access EC2 instance using Putty

+3 votes

I don't know as why this error is coming?

Can someone help me with this?

Nov 20, 2018 in AWS by Jino
• 5,520 points
75 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
+1 vote

I will tell you a descriptive way of using Putty to access your EC2 Instance

Step 1. Download puttygen for creating a .ppk file as putty doesn't accept .pem file generated by AWS.

Step 2. Convert your .pem file to .ppk file using PuttyGen.

Load your .pem file generated by AWS. Then save the private key (.ppk) file.

Step 3. Open Putty

Add you IP.

Add user name 

Add your ppk file 

Click on Open.

Give the ip address or the host name. Then in data section give the User name for the instance for linux its generally "ec2-user".

Step 4. Click open. 

Here it is. Now you can access your EC2 instance.

The error you were getting was because of the key file. 

Either the key file was not generated or you would be using the .pem file instead of .ppk.

Hope this helps.

answered Nov 20, 2018 by Priyaj
• 56,120 points

Related Questions In AWS

+1 vote
2 answers

How to launch and access an instance using AWS-CLI?

aws ec2 run-instances --image-id ami-id --key-name yourkeyname ...READ MORE

answered Feb 23 in AWS by Shashank
• 1,350 points
79 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers

Launching an EC2 Instance using AWS SDK Java

package com.ec2application.ec2application; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.regions.Regions; import com.amazonaws.services.ec2.AmazonEC2; import ...READ MORE

answered Jan 22 in AWS by Priyaj
• 56,120 points
195 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.