Saturday 22 December 2012

How to do SSH on Amazon Server


                          How to do SSH on Amazon Server

* To connect to your Linux/UNIX instance from a Windows machine, use an 
  SSH client. The following instructions explain how to use PuTTY,  a free SSH 
   client for Windows machines.

  Prerequisites
***************
 
* Enable SSH traffic—Open the instance's SSH port, Before you try to connect, ensure that your Amazon EC2 instance accepts incoming SSH traffic (usually on port 22). For more information, see Authorize Network Access to Your Instances.

* Instance ID—Get the ID of your Amazon EC2 instance. Retrieve the Instance ID of the Amazon EC2 instance you want to access. The Instance ID for all your instances are available in the AWS Management Console or through the CLI command ec2-describe-instances.

* Instance's public DNS—Get the public DNS of your Amazon EC2 instance,
 Retrieve the public DNS of the Amazon EC2 instance you want to access.
You can find the public DNS for your instance using the AWS Management Console or by calling the CLI command ec2-describe-instances.

The format of an instance's public DNS is 
ec2-w-x-y-z-compute-1.amazonaws.com where w, x, y, and z each represents a number between 0 and 255 inclusive.

* Private key—Get the path to your private key. You'll need the fully qualified path of the private key file associated with your instance.
 
For more information on key pairs, see Getting an SSH Key Pair.
 






No comments:

Post a Comment