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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,703
Community Members
 
Community Events
176
Community Groups

Not able to clone Bitbucket repository using SSH key

Edited

Hi,

 

We are facing an issue when trying to clone the Bitbucket repository from Squiz Matrix. I am getting following error:

 

Error occurred when running git command "/usr/bin/git ls-remote 'Bitbucket_repo'": fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.

 

The SSH key from Squiz is added to the Bitbucket repository access keys so that it can read the Bitbucket repository from Squiz.

 

$repo/admin/access-keys/ (where $repo is replaced with the top-level URL of your repository. For example, https://bitbucket.org/user/repo)

 

Any idea what could be the issue? Is there any Firewall to Bitbucket which is causing the issue?

 

This is high priority for us to setup the repo to start the project work. So any help would be appreciated.

 

Thanks,

Preksha 

1 answer

0 votes
Syahrul Atlassian Team Mar 21, 2022

Hi @patelpreksha 

Welcome to the community!

I am not familiar with how "Squiz Matrix" works, but just to confirm you are copying the SSH key from Squiz matrix and adding it on repositories A, then you try to clone from Squiz matrix for repositories A?

If yes, then I believe Squiz matrix is not using the correct SSH key to clone hence you are getting the permission error. You may need to check if the SSH is configured correctly for the Squiz matrix.

If you are not cloning repositories A and instead of cloning repositories B then it's expected because you added the SSH key on repositories A and you can only access that. If you want to access all other repositories under your WOrkspace. then you'll need to navigate into Workspace settings > SSH keys and add the ssh keys here so that it has access to all repositories under your Workspace.

I hope this helps.

Cheers,

Syahrul

 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events