Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

git push origin $BITBUCKET_BRANCH Permission denied (publickey). fatal: Could not read from remote r

godwin.jose
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 30, 2024

We were trying to push our code to the mirror repository. We were using it for two and half years to take a backup of our code into a AWS Code Commit via Bitbucket pipelines but all of a sudden, we were receiving these errors for last one month

 

I have tried linking the private ssh key to the repository

We tried checking our connection it is showing connected but we can commit the code but not able to the mirror repo (AWS Code Commit) and the pipeline is getting failed

 

git push origin $BITBUCKET_BRANCH1s
+ git push origin $BITBUCKET_BRANCH
Permission denied (public key).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 31, 2024

G'day, @godwin.jose 

Welcome to the community!

I can see that you have a paid workspace. Could you please create a support ticket in our Support portal so we can investigate the issue further?

Thanks!
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events