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

Stefan
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!
December 5, 2022

Hey, I added my SSH key (multiple times now) but since this week, I can access the repositories in my project. 

Has anyone a good idea, what happend? In the last week, everything works fine. Maybe some changes in bitbucket which i did not get.

thanks, regards

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 6, 2022

Hello @Stefan ,

Thank you for reaching out to Atlassian Community!

From the scenario you reported, multiple variables might be affecting your SSH authentication such as :

  •  SSH key not being loaded in the SSH agent
  •  The SSH key used is linked to an account that does not have access to the repository in question
  •  If having multiple keys in your local environment, the SSH agent might be trying to use the wrong key.

If the error you are receiving the following error while trying the git command : 

Permission denied (publickey).

I would suggest recommending following the steps listed in the article KB: Permissions denied public key that covers most of the factors that might be causing this issue.

If you are facing a different error or if after following the steps in the article you are still facing the issue, please share the error you are receiving with us.

Let me know in case you have any questions.

Thank you, @Stefan .

Patrik S

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events