cannot git clone repository with SSH

samuel sayag
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!
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 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events