we keep receiving the following error and can not push files to bitbucket from sourcetree. we have cleared the captcha each time but still get the message.
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream list refs/heads/master:refs/heads/master
Pushing to <server address>
fatal: remote error: CAPTCHA required
Your Bitbucket account has been locked. To unlock it and log in again you must
solve a CAPTCHA. This is typically caused by too many attempts to login with an
incorrect password. The account lock prevents your SCM client from accessing
Bitbucket and its mirrors until it is solved, even if you enter your password
correctly.
If you are currently logged in to Bitbucket via a browser you may need to
logout and then log back in in order to solve the CAPTCHA.
Completed with errors, see above
sorry, i am not quite sure i follow. when i enter the following command, i get
'The agent has no identities.'
how can i tell where the ssh keys were saved. the key was generated from > sourcetree > preferences > accounts tab.
thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please take a look at ~/.ssh folder. Your ssh keys will be saved as <Username>-Bitbucket in the aforementioned location. Once you confirm the presence of the key, run below command,
ssh-add ~/.ssh/<filename>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please specify if you are using ssh/https auth and if you have an account added in Sourcetree?
If you are using ssh, please check if the ssh-agent has your keys loaded. If not, please add them to the agent.
Run below commands in terminal to do so,
To check if keys are loaded:
ssh-add -l
To add keys to agent:
ssh-add <path_to_key>
more like,
ssh-add ~/.ssh/id_rsa
Key in the passphrase used while generating the ssh key and you should be good to go.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manjunath,
Thanks for responding!
I actually tried with both. I was primarily trying to make it work with ssh.
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream list refs/heads/master:refs/heads/master
Pushing to http://the_location.git
fatal: remote error: CAPTCHA required
Your Bitbucket account has been locked. To unlock it and log in again you must
solve a CAPTCHA. This is typically caused by too many attempts to login with an
incorrect password. The account lock prevents your SCM client from accessing
Bitbucket and its mirrors until it is solved, even if you enter your password
correctly.
If you are currently logged in to Bitbucket via a browser you may need to
logout and then log back in in order to solve the CAPTCHA.
Completed with errors, see above
When I check if keys are loaded it says: The agent has no identities.
We have tried so many times to make it work by reading articles in google with people having this issues. Clearing captcha, logging in and out of bit bucket server etc.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The solution is to load the identities to the agent.
Use the command I mentioned above and the path at which your ssh keys are saved on the local file system and add the key to the agent. That will resolve everything and you don't have to reset/clear Captcha or anything on the server.
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.