'bitbucket git repository access denied for additional ssh key

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.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source