You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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?
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.