I've updated to macOS Sierra and I'm using SourceTree 2.3.1 (69). I've got all my repos setup to use SSH. I'm getting the dialog Password Required For user git on host bitbucket.org. There is a text entry field and the "Store Password in Keychain checkmark.
1) Why am I getting this with SSH?
2) I have tried adding my Atlassian ID password and giving permission to access the Keychain but it just loops as if the password in invalid.
3) all these repos were working before updating to macOS Sierra. However, I did have some issues with the change form the Bitbucket credentials to the Atlassian ID using SourceTree but they seemed to be sorted out.
I got it to work again using the command line first. Try to fetch your repo using the Terminal (while it's still setup to use SSH). In my case I was prompted to enter the password for my ssh key file on the Terminal, which makes more sense than to enter your bitbucket/Atlassian password "for user git" in the GUI. After doing that fetching and pulling using SourceTree did work again as expected.
That did fix the issues. I hadn't thought I would need to unlock the SSH key after updating macOS.
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.
This did the trick for me too... I needed to "trust" the Atlassian server first. Now everything works as expected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Open a terminal and type "ssh-add
", when prompted type in the password for your SSH RSA key.
To verify if you have an SSH RSA key in your profile, type "ssh-add -L
". After upgrading to Sierra it will say something like "The agent has no identities
".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works perfectly. thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I didn't need to do anything more than this. Thanks! (When I switched back to SourceTree and responded to the failed pull dialog it instantly was in contact with the remote and listing new changes to be pulled.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Matt, this worked for me. I'm using MacOS Sierra, 10.12.6 and SourceTree Version 2.6.3.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Doesn't seem to work for the macOS High Sierra update.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thx Matt ;) it worked for me on High Sierra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Matt.
This worked for me!
macOS High Sierra: 10.13.6
SourceTree: 3.2.1 (225)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys, maybe you could try clone the repo using different format of the url.
I didn't have HTTPS connection configured, only SSH, so when I was trying to paste "normal" url of the repo (http://bitbucket.org/...), I was getting the same annoying message about the password.
Try to use "Clone" button in your repository on Bitbucket, you'll get something like "git clone git@bitbucket.org(...).git". Copy this line without "git clone" and paste to SourceTree. Worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ssh-add worked for me too. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem for me - I got it working by answering the password question with the passphrase for my key, rather than the password for the server (that part seems like a bug). That makes it happy for a single operation. Doing ssh-add as described above makes it stick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Easiest fix, solved the issue for me. Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, I'm having a similar issue - from memory I have made my SSH pass phrase the same as my password however I think maybe if I can change my pass phrase I can try it.
Can you tell me how I can access my SSH keyphrase?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys, maybe you could try clone the repo using different format of the url.
I didn't have HTTPS connection configured, only SSH, so when I was trying to paste "normal" url of the repo (http://bitbucket.org/...), I was getting the same annoying message about the password.
Try to use "Clone" button in your repository on Bitbucket, you'll get something like "git clone git@bitbucket.org(...).git". Copy this line without "git clone" and paste to SourceTree. Worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After looking at this thread and reading Adding Bitbucket SSH Key,
1) Delete/Backup old SSH key
2) Create new SSH key (follow Adding Bitbucket SSH Key,) with a passphrase
3) Add SSH key to BitBucket
4) When prompted SourceTree for keychain access, entered my passphrase.
NOTE: I think this issue was a from the MacOS security upgrades that were for a root access issue -- Security Update 2017-001, macOS High Sierra 10.13.2, Security Update 2017-002 Sierra, and Security Update 2017-005 El Capitan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I recently started getting the prompt to enter the password when interacting with the server, and it turns out the password it wanted was not my actual server account password but my SSH key password. (I am using SSH and not HTTPS.)
The "Password Required" dialog text makes it sound like it wants the server password.
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.
Hi, maybe you could try clone the repo using different format of the url.
I didn't have HTTPS connection configured, only SSH, so when I was trying to paste "normal" url of the repo (http://bitbucket.org/...), I was getting the same annoying message about the password.
Try to use "Clone" button in your repository on Bitbucket, you'll get something like "git clone git@bitbucket.org(...).git". Copy this line without "git clone" and paste to SourceTree. Worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same annoying problem for me. I installed Git Kraken and it worked perfectly, so it seems to be a problem with Source Tree. It looks like even though I am using SSH- its trying for some strange reason to access my keychain password. It looks like a bug.
I tried putting in my bitbucket password and got this error.
(internetKeychainItemForServer:withUsername:path:port:protocol:) - The specified item could not be found in the keychain. User cancelled password prompt.2016-10-14 13:32:13.889 SourceTreeLogin[13319:776438] User cancelled password prompt. Permission denied (publickey).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I managed to get it working by:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was able to get SourceTree working again by changing to HTTPS. I tried creating and installing a new public key in Bitbucket, but that didn't help with SSH.
I also noticed that LFS is failing with SourceTree getting all kinds of errors. I updated my local Git LFS to 1.4.1 and chose that in SourceTree and that seemed to solve that problem. I was using the embedded Git LFS before.
I'd rather be using SSH, but at least things are working again for now.
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.