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

cannot git clone repository with SSH

samuel sayag November 1, 2018

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
AUG Leaders

Atlassian Community Events