Hi there,
We are in the middle of a tech transition after switching from Windows PC to Mac. I was setting up my bitbucket access with personal ssh keys and i was able to clone repos from my workspace. However, when it come to pushing, i'm being asked to input my password through Keychain access. I have never run into this issue previously with these repos in which I'm repeatedly asked for my pw even after setting up SSH. I also tried inputting my bitbucket pw into keychain and it didn't work. Can anyone give any suggestions for how to solve this?
Thanks in advance.
Hi Rhea and welcome to the community!
If the password prompt comes from Keychain Access, then the password you need to enter is that of your Mac user account. SSH keys are not stored in the Keychain, but if your SSH key pair has a passphrase, that passphrase may be stored in Keychain and the SSH agent on your Mac can be configured to use the Keychain.
The protocol (HTTPS or SSH) used when cloning or pushing to a repo is determined by the remote URL you are using. You can navigate to the directory of the repo's clone from a terminal on your Mac and run the command git remote -v. Do all the URLs in the output start with git@bitbucket.org or is there any URL starting with https?
Did you set a passphrase for the SSH key pair that you use in Bitbucket Cloud, when you generated this key pair?
Does the ssh config file on your Mac have the option UseKeychain yes for Host * or Host bitbucket.org? See for reference:
The default location of a user-specific ssh config file is in ~/.ssh/config, whereas the system-wide configuration file for all users is in /etc/ssh/ssh_config.
Kind regards,
Theodora
also, in the midst of troubleshooting last week, our it team set up an app pw which is still there. If i revoke that to rely on ssh instead would that work? is this the issue?
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.