Skip to content

Instantly share code, notes, and snippets.

View MohammedJabarullah's full-sized avatar

Hassan MohammedJabarullah

View GitHub Profile
@MohammedJabarullah
MohammedJabarullah / aws_ec2_root.md
Last active August 29, 2015 14:25 — forked from tracend/aws_ec2_root.md
AWS EC2: Steps to enable root access with your local key - Inspired by: https://forums.aws.amazon.com/thread.jspa?threadID=86876

Note: replace {{server}} with your domain or ip

  • Login as the ec2-user
ssh -i key.pem ec2-user@{{server}}
  • Switch to administrator
sudo -i