I'm using SourceTree v2.5.2 (111) to clone and push to Bitbucket.
When I trying the clone a project or to push, I'm getting the error:
Please make sure you have the correct access rights and the repository exists. Permission denied (publickey). fatal: Could not read from remote repository.
I've tried to re-add the account, checked the ssh key, I'm still getting the error.
Any thought? Can anybody help me?
I was able to fix it!
I've tried to re-authorize SourceTree in the OAuth or regenerate the ssk key with `ssh-keygen`. Both didn't worked.
I did follow the documentation configure-multiple-ssh-identities-for-osx-linux
$ ssh -Tv email@example.com OpenSSH_6.9p1, LibreSSL 2.1.8 ... Permission denied (publickey). $ ssh-add -l 2048 SHA256:... /Users/user/.ssh/id_rsa (RSA) $ ssh-add ~/.ssh/user-Bitbucket Enter passphrase for /Users/user/.ssh/user-Bitbucket: Identity added: /Users/user/.ssh/user-Bitbucket (/Users/user/.ssh/user-Bitbucket) $ ssh-add -l 2048 SHA256:... /Users/user/.ssh/id_rsa (RSA) 2048 SHA256:... /Users/user/.ssh/user-Bitbucket (RSA) $ ssh -Tv firstname.lastname@example.org OpenSSH_6.9p1, LibreSSL 2.1.8 ... logged in as user.
Then, I was able to push my commits. It's working!
The issue might have come after the reboot of the mac. The first one since I had install SourceTree v2.5.2 (110) for a better support of OAuth...
Same occurs for me. Has happened since the upgrade to 2.5.2. Switched back to https however that keeps asking for my password constantly. Atleast I can work though.
I've also switched to GitKraken which has no issues with the same repos and ssh. Might be worth switching everything over.
Refer this you can do it. Thanks
To check ssh folder. Ctrl + h
I have to push my repository to bitbucket but whenever i try to push it or clone my local repo with server it gives me error "permission denied(publickey)" i am using git tortoise on windows 8... any idea what i am doing wrong???
Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going. The ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events