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
18 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,160 points
836 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
140 views
0 votes
1 answer
+1 vote
3 answers

Log in to AWS using Access Key ID and Secret Access Key ID

Access keys consist of an access key ...READ MORE

answered Aug 17, 2018 in AWS by Priyaj
• 56,160 points
183 views