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.

0 answers

Suggest an answer

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

Atlassian Community Events