Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,619 views 0 6
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