Advertisement
Guest User

Untitled

a guest
May 20th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. To access your instance:
  2. Open an SSH client. (find out how to connect using PuTTY)
  3. Locate your private key file (Ubuntukey.pem). The wizard automatically detects the key you used to launch the instance.
  4. Your key must not be publicly viewable for SSH to work. Use this command if needed:
  5. chmod 400 Ubuntukey.pem
  6. Connect to your instance using its Public DNS:
  7. ec2-54-91-21-46.compute-1.amazonaws.com
  8. Example:
  9. ssh -i "Ubuntukey.pem" ec2-user@ec2-54-91-21-46.compute-1.amazonaws.com
  10. 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement