amazon ec2 – I’m receiving a Permission Denied (publickey, gssapi-keyex, gssapi-with-mic) error message when attempting to SSH into my EC2 Instance (CentOS)
I’m attempting to ssh into my EC2 Instance via CentOS. However, I keep get a receiving this error message “Permission Denied (publickey, gssapi-keyex, gssapi-with-mic)” Steps I’ve taken to resolve this issue.
-
I changed permissions by using this command “chmod 400
“ -
Made sure Outbound/Inbound rules for the Security Groups were set to Custom. Destination is 0.0.0.0/0
-
I attempted the Verbose SSH Output . I entered ssh -i
-vvv centos@ . I’m still receiving a Permission Denied error
I did all of these steps above and I’m still receiving a Permission Denied Error Message. Can someone please help me resolve my issue? Thanks in advanced enter image description here
Permission Denied Error Message
Read more here: Source link