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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.