Solved

How to Connect to AWS using PuTTY

Posted on 2011-09-15
1
587 Views
Last Modified: 2014-11-12
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
Comment
Question by:ADFB
1 Comment
 
LVL 12

Accepted Solution

by:
larsrohr earned 500 total points
ID: 36541592
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

AWS Glacier is Amazons cheapest storage option and is their answer to a ‘Cold’ storage service.  Customers primarily use this service for archival purposes and storage of infrastructure backups.  Its unlimited storage potential and low storage cost …
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question