I have two SSH keys configured: one for my laptop and another for the testing server.
The laptop key works fine, but the key associated with my user on the server always fails with “unauthorized” whenever I try to pull or push a repository.
When I run:
ssh -T git@bitbucket.org # or ssh -T hg@bitbucket.org
I get the response:
authenticated via ssh key. You can use git to connect to Bitbucket. Shell access is disabled
So the authentication seems to work, but Git operations with my server key are still failing.
The keys are already configured in my Bitbucket profile. At this point, I don’t know what else to try.
Has anyone experienced something similar or can point me in the right direction?