Thursday, 2 June 2011

Connect to Amazon EC2 VPS server - Shell Access

You would most probably wondering, How to connect with the Amazon EC2 instance over a Putty terminal for a SSH connection?

Here's the solution.



Hope you would have safeguarded the .pem file, which was obtained while creating your EC2 instance.


Goto and select "Key Pairs" page as shown below




Click on the "Create Key pair" and supply an appropriate name to create and download the key.

You will have a .pem downloaded to your machine by now.

Create a private key using the PEM certificate. Download PuTTygen to do the job.
Goto http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Download: puttygen.exe

Open the "puttygen.exe" and load the .pem file and Click "Save private key" to get your key. This is the authenticated key to log you into the machine.

Download PuTTy: putty.exe

Key in your Amazon instance IP address.

Choose SSH on the left side tree and select "Auth" and choose the generated "Private Key".




Again Choose "Session" item on the left tree and Click "Open"

Type "ec2-user" to login to the terminal

8 comments:

  1. I never knew about this process but here i get it clear.. Thanks and keep sharing..web hosting provider

    ReplyDelete
  2. Hello
    Connect to Amazon EC2 VPS server - Shell Access
    Thanks for putting up, very good stuff, It is pretty ideal for everyone.
    Thank you!

    ReplyDelete
  3. Hey
    Server Setup & Configuration
    Excellent publish, I wish to thank you for this informative read, Keep up your work
    thank youuuu

    ReplyDelete
  4. you surely provided a way clearer means than does the docs on AWS. though i have not made my connection, i just got "server refused our key". so now i have to figure out why the HELL0 i just got refused.

    ReplyDelete
  5. Thanks for sharing the post in detail. It is good to take hosting service from a professional hosting provider company. Such companies provides best VPS Server India with friendly customer support at affordable price also. You put such a nice stuff on this blog, thanks again.

    ReplyDelete
  6. I really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people.
    servidor VPS no Brasil

    ReplyDelete
  7. This is a great article thanks for sharing this informative information. I will visit your blog regularly for some latest post. I will visit your blog regularly for Some latest post.
    free vps

    ReplyDelete
  8. Very nice, thanks for this awesome blog, I am very happy with this blog.. Keep Writing
    Ok, now I come to know about this server hosting importance.. Thanks a ton!! Keep it up. Good Work. Brazil Dedicated Server

    ReplyDelete