Given that I have a repository, and have been committing to it and using an SSH key successfully...
I thought that the same SSH key would be used for a new repository I just created. Pushing an initial commit failed authentication, and so I thought maybe it's just a matter of adding that key to the new repository. That failed, BitBucket said the key is already in use.
I thought one key allows me access to BitBucket for all my repositories within this account (where as I understand an account to include the set of created repositories that I can access with one username and password).
So, since I have already created an SSH key, is there a reason I seem to not authenticate with this new repository?
Hi, welcome to the Community!
The SSH account is valid for the whole Bitbucket account and all the repositories contained in it, Bitbucket uses the key pair to authenticate anything the associated account can access.
The repository you're trying to access, can you confirm you own it? Do you have the right permissions to access it? Are you pushing it from the same machine where you created the SSH key?
Kind regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.