Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Permission denied ssh aws codecommit

Carlos Palacios
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 16, 2018

Permission denied (publickey).fatal: Could not read from remote repository.

I am trying to configure my bitbucket pipeline to connect to aws codecommit but it gives me permission denied, configure the bitbucket-pipelines.yml and the environment variables. Try that user from my console and push works well.

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 23, 2018

Hi Carlos, welcome to the Community! Are you still experiencing this issue?

Can you confirm you're using the right credentials and SSH key? You can run this command to see the user that Git is trying to authenticate:

ssh -Tv git@bitbucket.org

If the credentials are right, I'd also recommend contacting AWS services to make sure you're following the correct steps and that they don't have any problem with the credentials.

Best regards!

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events