Connecting to Your Linux Instance from a Linux Workstation using SSH client
If you are a linux user, simply connect using the typical method, using your .pem keyfile and this command, substituting your own DNS name or Elastic IP after the @ symbol:
ssh -i my-key-pair.pem ec2-user@<ec2-123-45-67-89.compute-1.amazonaws.com>
Connecting to Your Linux Instance from Windows Using PuTTY
After you launch your instance, you can connect to it and use it the way that you'd use a computer sitting in front of you.
NOTE: After you launch an instance, it can take a few minutes for the instance to be ready so that you can connect to it. Check that your instance has passed its status checks - you can view this information in the Status Checks column on the Instances page.
The following instructions explain how to connect to your instance using PuTTY, a free SSH client for Windows. If you receive an error while attempting to connect to your instance, see Troubleshooting Connecting to Your Instance.
Before you connect to your Linux instance using PuTTY, complete the following prerequisites:
Install PuTTY: Download and install PuTTY from the PuTTY download page. Be sure to install the