1) Download PEM file and then give permission 0400
sudo chmod -R 0400 name.pem
2) Then login with PEM file
ssh -i name.pem ubuntu@ip_address
Time is my friend
1) Download PEM file and then give permission 0400
sudo chmod -R 0400 name.pem
2) Then login with PEM file
ssh -i name.pem ubuntu@ip_address