When first setting up an Amazon EC2 server, you receive an ssh key to
connect to the instance. This article details how to use a PuTTY
private key to connect to your Amazon EC2 Linux instance. Previously, we
used ssh on the OS X terminal and our .pem key file in order to
connect. However, that didn’t work for our Windows users because .pem
files are used with ssl (openssl). We will show you how to download all
the PuTTY tools needed, create your private key, connect to your
instance. We will also show you how to connect to your instance without
an SSH key. The video included shows the practical application of the
information written in the article below.
We are going to assume you’ve already followed the previous Amazon Screencasts and you have your .pem file and are ready to connect to your instance. 1.) Download the PuTTY resources needed to connect to our instance, PuTTY Download page. Go ahead and download the PuTTY and PuTTYGen executable files to your desktop.
2.) Open the PuTTYGen executable and your screen should look like the image below. This is where we are going to take your .pem file and convert it into a putty private key.
3.) Select the “load” button and Windows Explorer should appear for you to select a file. You will have to select the option to view “all” files as the image shows. From there you will load your .pem file.
4.) Once you’ve loaded the .pem file your screen will look like the following. Once this is complete select “Save private key.” It will ask you if you want to save without a pass code. You may choose to use a pass code but it is not necessary.
5.) Open PuTTY and enter your host
6.) Select “data” on the left hand side under “auto-login username” enter the user “root”
7.) Select “Auth” on the left hand side then under “private key for authentication” select the .ppk file we just created with PuTTYGen.
8.) Go back to the top and connect to your instance.
We are going to assume you’ve already followed the previous Amazon Screencasts and you have your .pem file and are ready to connect to your instance. 1.) Download the PuTTY resources needed to connect to our instance, PuTTY Download page. Go ahead and download the PuTTY and PuTTYGen executable files to your desktop.
2.) Open the PuTTYGen executable and your screen should look like the image below. This is where we are going to take your .pem file and convert it into a putty private key.
3.) Select the “load” button and Windows Explorer should appear for you to select a file. You will have to select the option to view “all” files as the image shows. From there you will load your .pem file.
4.) Once you’ve loaded the .pem file your screen will look like the following. Once this is complete select “Save private key.” It will ask you if you want to save without a pass code. You may choose to use a pass code but it is not necessary.
5.) Open PuTTY and enter your host
6.) Select “data” on the left hand side under “auto-login username” enter the user “root”
7.) Select “Auth” on the left hand side then under “private key for authentication” select the .ppk file we just created with PuTTYGen.
8.) Go back to the top and connect to your instance.
0 comments:
Post a Comment