Hello there,
I set up a bitbucket private repository -> everything worked fine using https. I then continued to configure my rsa key pair for ssh and did:
1. upload the public key to bitbucket
2. add the private key to my ssh-agent
3. test the connection using "ssh -T git@bitbucket.org" and it worked
4. successfully cloned the repository to my laptop: it even asked for the correct ssh-key-pair-passphrase
However, every other git command (e.g. pull) does not work with error message:
"Permission denied (publickey).
fatal: Could not read from remote repository."
Besides, the used rsa-key-pair is the only one inside my .ssh directory and I set up transparent git encryption following this guide and it worked fine before.
Help would be much appreciated... Any ideas?
Community moderators have prevented the ability to post new answers.
Ok Update: turns out I accidentally overwrote a important part of .git/config
Now is working fine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.