BitBucket Error Message "Someone Has already Registered This As a Deployment Key"

I am trying to clone a git repository in my bitbucket account, but I get this error message when trying to clone this repo. on the new pc that I installed:

Cloning to 'xxxxx' ... access to the repository is denied. The deployment key is not associated with the requested repository. fatal: Failed to read from remote repository.

Please ensure that you have the correct permissions and a repository exists.

And when I try to add the ssh key for this new machine to the bitpack, I get this error:

Someone has already registered this as a deployment key.

So it looks like I accidentally accidentally registered the ssh key for this machine as a deployment key at some point. How to determine which repo in a bitpack really has this key registered as a deployment (as opposed to regular ssh access)?

Sorry, if this is not sent in an ideal location, I will transfer it to another SO section, if another relevant one.

+4
source share
1 answer

You can see where this key was added by the SSH: command ssh -Ti /path/to/key git@bitbucket.org. He should be back with something like this:

authenticated via a deploy key.


You can use git or hg to connect to Bitbucket. Shell access is disabled.

This deploy key has read access to the following repositories:

owner/repo: Test key - owner@host.tld
+6
source

Source: https://habr.com/ru/post/1689653/


All Articles