Accessing your Amazon EC2 Linux instance using SSH
The following instructions are copied from the console.aws.amazon.com Console page:
- Open an SSH client. (find out how to connect using PuTTY)
- Locate your private key file (UbuntuDocker.pem). The wizard automatically detects the key you used to launch the instance.
- Your key must not be publicly viewable for SSH to work. Use this command if needed:
chmod 400 UbuntuDocker.pem
- Connect to your instance using its Public IP:
ssh -i "UbuntuDocker.pem" firstname.lastname@example.org
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