Sign in
Categories
Your Saved List Become a Channel Partner Sell in AWS Marketplace Amazon Web Services Home Help

created a new instance and couldn't ssh to server

  • By taka
  • on 11/25/2020

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).


  • By Jesse
  • on 10/09/2021

Try start and stopping it?

  • By SL
  • on 06/02/2021

Same Problem, is there any solution?

  • By jb
  • on 02/23/2021

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.

  • By nvtualdnf13947
  • on 01/29/2021

try ec2-user

  • By resp
  • on 12/22/2020

did u do a chmod 400 20201124.pem before using the pem file