The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 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.

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events