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,294,183
Community Members
 
Community Events
165
Community Groups

cannot git clone repository with SSH

Hi,

I have a free account I just opened and try to git clone a repo I created.

I cannot git clone my repository. I know there is a ton of post on the subject I read the documentation as well but I am still stuck so I dare asking here:

  1. I generated the ssh key pair
  2. I register it at the general setting or  account level (not at the repository level)
  3. I have ssh agent working with the key (ssh-add -l shows it)

When I try to git clone:

sam@sam-dell:~/Documents/tex$ git clone git@bitbucket.org:samsayag/memoire-josiane-sayag.git
Cloning into 'memoire-josiane-sayag'...
repository access denied.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I also checked that this it not an ssh problem:

sam@sam-dell:~/Documents/tex$ ssh -T git@bitbucket.org
logged in as samuelsayag.

You can use git or hg to connect to Bitbucket. Shell access is disabled.

I know it must be a right problem.

Do I have to do something more than registering the key at account level to access all my repositories ?

Many thanks for helping

 

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,151 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you