created a new instance and couldn't ssh to server
Created a new instance with this image and couldn't SSH to server. I get this error.
~ % ssh -i "20201124.pem" centos@ec2-18-144-138-35.us-west-1.compute.amazonaws.com
centos@ec2-18-144-138-35.us-west-1.compute.amazonaws.com: Permission denied (gssapi-keyex,gssapi-with-mic).
Try start and stopping it?
Same Problem, is there any solution?
same problem. cannot SSH to user as centos@<IP> (also not as ec2-user as suggested). use the same keys for other instances without problem. Something is wrong here.
try ec2-user
did u do a chmod 400 20201124.pem before using the pem file