Hi, I have serious problems to use Sourcetree with bitbuket, I installed the SSH Key as per your procedure, deleted the old keys and made new procedure, it works for a day then to restart me from this:
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Completed with errors, see above
Hi Piero, can you run this command in your terminal and see if your machine is offering the right key:
ssh-add -L
Also this one, it will tell you which username is using to authenticate:
ssh -Tv git@bitbucket.org
If you need further assistance, let us know which Sourcetree and OS version do you have.
Cheers!
Ana
Hi, I launched, these two commands, and I see the key and made the debug, with this solution?
The problem is that if restart mac the key no longer works!
mac version: 10.13.1
SourceTree: 2.6.3
How do I solve this problem?
Piero
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So you're using Mac? In that case looks like you're affected by this issue on their side, you can see it at MacOs Sierra doesn't remember SSH keys between reboots. Please read through it to find possible solutions, I hope that helps you!
Best regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Piero, if you're affected by this, this is an issue on Apple's side. There are solutions posted in their thread, so please read through it to find which one works for you :)
If the SSH key keeps disappearing every time you reboot your computer, you might need to contact them s they can help you with this bug.
If there's anything else we can do from our side, let us know!
Regards,
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.