Ssh setup issue for ec2 instance

#1

I am trying to setup passwordless connectivity across my mac and ec2 instances. I messed it and now iam getting this error:

My-MacBook-Pro:.ssh Bharath$ ssh-copy-id centos@ec2-XX-XXX-X-XXX.us-west-2.compute.amazonaws.com
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

0 Likes

#2

What is ssh-copy-id? Where is your key to connect to ec2 instance?

0 Likes