• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 716
  • Last Modified:

How to Connect to AWS using PuTTY

I was given a pem file and these instructions:

chmod 400 dev-server.pem
ssh -i dev-server.pem ec2-user@23.18.185.345

I assume these instruction are for a Linux machine. I'm on a Windows machine and I use PuTTY to connect to SSH. So I don't understand how to connect.

How do I use this pem file to connect through my Windows installation?
0
ADFB
Asked:
ADFB
1 Solution
 
larsrohrCommented:
You can use PuTTYgen to convert that pem key to a PuTTY ppk file.
Start PuTTYgen, and go to Conversions -> Import.  Import your pem file, and then click Save Private Key.  Note where you save the resulting ppk file.

Now in PuTTY, you can go into Connection -> SSH -> Auth, and use the Browse button to enter this ppk file into the "Private key file for authentication" space.
Looks like you'll also want to set the username as "ec2-user" under Connection -> Data,
and the Host Name as "23.18.185.345" under Session.

Enter a name in the Saved Sessions field, such as "AWS Connection" and click the Save button, so you'll have all this for later.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now