AWS

From Ever changing code
Revision as of 00:00, 7 August 2013 by Pio2pio (talk | contribs) (Created page with "=== ssh to EC2 instance === Change permissions of the key as per [http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html#EC2_ConnectToInstance_Linux Getting St...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ssh to EC2 instance

Change permissions of the key as per Getting Started with Amazon EC2 Linux Instances

chmod 400 mykey.pem
  • Ubuntu user: ubuntu (confirmed)
  • RedHat user: root (tbc)
  • Amazon branded instances: ec2-user (to be confirm)
ssh -i mykey.pem ec2-user@ec2-99-99-99-99.compute-1.amazonaws.com