Can't clone repository (I am authenticated and have Read access)

PawełR
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!
August 30, 2023

I'm getting the generic error message "fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists." when trying to clone a repository.

The repository exists, I can access it and even download it from the browser. The cloning URL is correct. Authentication passes correctly (when using GIT_SSH_COMMAND="ssh -vvv" git clone {repo url}, it shows that a correct pubkey is used and prints out

debug1: Authentication succeeded (publickey).
Authenticated to bitbucket.org ([104.192.141.1]:22).

 

Is it possible that another type of permission is needed to clone the repo? It does not seem to make sense though, because I can actually access and download the repo from the browser...

1 answer

1 accepted

2 votes
Answer accepted
PawełR
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!
August 30, 2023

Solved the problem by generating a new key pair. Weird.

Suggest an answer

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

Atlassian Community Events