sudo chmod 600 /path/to/my/key.pem
sudo chmod 600 ~/.ssh/id_rsa sudo chmod 600 ~/.ssh/id_rsa.pub
add sudo before ssh and then execute sudo ssh -i "ma.pem" ec2-user@ec2-54-83-120-103.compute-1.amazonaws.com