Accessing your Amazon EC2 Linux instance using SSH

The following instructions are copied from the Console page:

  1. Open an SSH client. (find out how to connect using PuTTY)
  2. Locate your private key file (UbuntuDocker.pem). The wizard automatically detects the key you used to launch the instance.
  3. Your key must not be publicly viewable for SSH to work. Use this command if needed: chmod 400 UbuntuDocker.pem
  4. Connect to your instance using its Public IP:


ssh -i "UbuntuDocker.pem" ec2-user@

Note: Please note that in most cases the username above will be correct, however please ensure that you read your AMI usage instructions to ensure that the AMI owner has not changed the default AMI username.

17-12-2015 13:23