0

I can not push or clone my repositories using ssh. I'm using Ubuntu 16.04. I read this answer and followed the official tutorial but still I cannot access my repository in BitBucket.

  1. I create a new repo on BitBucket.

  2. I create an additional ssh-key following the tutorial.

  3. Then I add all development keys to my account and not for Deployment.

  4. I clone the repo using the command:

    git clone ssh://**localuser**@bitbucket.org/**repoUser**/repo.git
    

    and I get this answer:

Cloning into 'countingsystemv5'... repository access denied. deployment key is not associated with the requested repository. fatal: Could not read from remote repository.

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

Dan Swain
  • 2,910
  • 1
  • 16
  • 36
aburbanol
  • 437
  • 8
  • 27
  • 2
    Can you double check that the key your client is offering is the one associated with your account? You should be able to see that by running "ssh -v git@bitbucket.org". – Edmund Dipple Dec 06 '17 at 15:39
  • @janos the path of my public key (.pub) is ~/.ssh/ – aburbanol Dec 08 '17 at 09:25
  • Possible duplicate of [Repository access denied. access via a deployment key is read-only](https://stackoverflow.com/questions/13306435/repository-access-denied-access-via-a-deployment-key-is-read-only) – Kais Tounsi Jun 23 '19 at 22:15

0 Answers0