Forums

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

Can't mirror from Gitlab to Bitbucket Cloud private repository

Jakub Gladykowski
Contributor
May 12, 2025

It works for public repository in Bitbucket. I am using SSH keys.

This is attempt for private repo with error:

image_2025-05-12_091542005.png

 

This is attempt for public repo with success:

image_2025-05-12_091724664.png

 

Actual error:

```

13:push to mirror: git push: exit status 128, stderr: "Unauthorized\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n".

```

I added SSH public key from Gitlab to Bitbucket, I added known hosts to Gitlab

1 answer

1 accepted

0 votes
Answer accepted
Jakub Gladykowski
Contributor
May 12, 2025

OK, I can answer to myself:

1. Make sure you add the key on organization level, and not repository level

 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, forge, forge learning path, atlassian learning, cloud app development, forge app development, build forge apps, atlassian certification, developer training, jira app development, confluence app development, automation, ui frameworks

Turn Ideas into Atlassian Apps 📱

From setup to deployment—this learning path shows you how to build your first app using Forge. Learn the essentials, streamline workflows, and bring custom solutions to life across Jira, Confluence, and more.

Start Learning
AUG Leaders

Atlassian Community Events