You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have the same email and username of github and bitbucket accounts. I can easily add my github account and it works smoothly. After I add the bitbucket one and try to clone a remote repo, I get this error:
Please make sure you have the correct access rights
fatal: Could not read from remote repository.
and the repository exists.
Forbidden
It doesn't throw any authentication errors, so creds are fine. The only thing I can do right now is to see my public remote repositories. In the bitbucket SSH keys settings, I see Never used in the Last used column. Moreover, I've removed .ssh folder and set up everything from scratch - doesn't work. I've also tried to generate Bitbucket SSH key myself - doesn't work.
I also have a default Bitbucket account and it works perfectly fine.
Mac OS 10.15.2
Sourcetree 4.0.1
Embedded Git 2.23.0 (in use)
System Git 2.24.1 (switching doesn't help)
Try adding the following lines to your ssh configuration file. In my Ubuntu, it is ~/.ssh/config
Host bitbucket.org
HostName bitbucket.org
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.