Access error: Public key denied when connecting to a CodeCommit repository

0 votes

I'm getting the following error when I try to use the ssh endpoint for communication with a codecommit repo.:

Access error: Public key denied when connecting to a CodeCommit repository

Why?

Jul 8 in AWS by Sid
27 views

1 answer to this question.

0 votes
The main reason why this error occurs is when you haven't completed the setup for ssh connections. Configure a public key, key pair, and then associate the public key with your IAM user. This error should then disappear.
answered Jul 8 by Tara

Related Questions In AWS

0 votes
1 answer

AWS Access Key error when uploading to S3

You can try getting creating a new ...READ MORE

answered Feb 6 in AWS by Priyaj
• 56,520 points
1,154 views
+1 vote
1 answer

Invalid hostname error when connecting to S3 using secret key

Hey, it works perfectly fine you just ...READ MORE

answered Oct 11, 2018 in AWS by Archana
• 4,090 points
213 views
0 votes
1 answer