I am using git on the command line to push to Bit Bucket Server, and sometimes I am getting an error that authentication has failed and I am required to solve a captcha before I will be able to login.
This requires me to login to the web interface and solve the captcha before my account works from the command line again.
Is there something in particular that prompts the captcha? I am using the same username and password each time, nothing is changing, so I know the authentication should pass.
Is this randomly triggered?
If so, would using ssh keys instead avoid these issues?
This article will tell you more than I can tell you about captcha in Bitbucket server, I do recommend that you read it:
Answering your questions:
Is this randomly triggered?
Nop, it is caused by attempts to access the repository with the wrong password.
If so, would using ssh keys instead avoid these issues?
Yes, that will save you from captcha when using SSH. Any remaining attempts with user/password will still face the issue until you stop the caller with the wrong password.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.