The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication failed form Bitbucket cloud

MDAUTOMATISERING
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 25, 2022

I use Sourcetree and bitbucket.

I created an SSH key and installed it in Bitbucket.

Trying to push I stille get an authentication error:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master
Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.
remote: See our community post for more details: https://atlassian.community/t5/x/x/ba-p/1948231
remote: App passwords are recommended for most use cases and can be created in your Personal settings:
remote: https://bitbucket.org/account/settings/app-passwords/
fatal: Authentication failed for 'https://MYNAME@bitbucket.org/MYNAME/amsys-xe10.git/'

 


Pushing to https://MYNAME@bitbucket.org/MYNAME/Source.git
Completed with errors, see above.

 

 

How to solve this?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 26, 2022

G'day!

Based on the output you have provided, it appears that you still have HTTPS included in your gitconfig for the remote upstream repository.

If you are intending on using HTTPS, you will need to configure an App Password, then update your remote URL to include this App Password:

git remote set-url origin https://USERNAME:APP_PASSWORD@bitbucket.org/username/reposlug.git

Else, if you are wishing to use SSH instead to clone/push/pull, please follow our documentation here:
https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/

Cheers!

- Ben (Bitbucket Cloud Support)

TAGS
AUG Leaders

Atlassian Community Events