I have several private projects. Went to create a new one, but:
git push -u origin master
git@bitbucket.org: Permission denied (publickey).
fatal: Could not read from remote repository.Please make sure you have the correct access rights
and the repository exists.
I can't enter a new key for that project, because:
Someone has already registered that SSH key.
(which would be me, with the same key I've always used.)
??
Hi! Can you confirm that you're creating your new project as per Create a Git repository?
Can you also confirm that you're authenticated to the right account? Please run this command on your terminal, this will attempt to create a connection to Bitbucket for Git and tell you which username is using:
ssh -Tv git@bitbucket.org
Regarding the SSH key, if you have already entered that key into your Bitbucket account, you won't be able to enter it again or use it for a different account. The system will return an error anytime you try to use the same key more than once.
Let us know!
Ana
Problem fixed on my end, my bad, after restarting ssh agent. Thanks for the quick reply!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to hear is fixed now :)
Have a good day,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.