I ran into this problem earlier and had to do two things:
chmod 600on the
$ chmod 600 ~/Downloads/example.pem
This allows the owner to read and write.
ec2-user@to the host name
$ ssh -i path/to/example.pem email@example.com
Don’t forgot to prepend
ec2-user@ to the host name once you’ve retrieved it from AWS console.