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
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
I have enabled bitbucket two step verification, using the Authy app. That part seems to work fine since I can log into bitbucket.org using the following procedure.
1. open bitbucket.org in browser
2. select 'login'
3. enter account *email address*
4. enter password
5. enter 6 digit code from Authy.
To test things out I have created a test repository. From this repository I can copy the git clone command that looks as:
Where user is the Username is the one listed on https://bitbucket.org/account/settings/ and workspace is the workspace of the repository. When viewing the repository in the browser, the address is https://bitbucket.org/workspace/test/src/master/.
My understanding is the login details for the git command prompt is kept in windows credentials. I have tried to add these using the following windows admin command:
cmdkey.exe /add:bitbucket.org /user:Username /pass:password
Where password is the one used in the two way verification, used to log in to bitbucket.org with the browser.
After updating windows credentials the system respond with the 'atlassian log in to your account' dialog when giving the git clone command. However, it seems like the system select the legacy logon method since it does not ask for two way verificaiton but instead give the message:
$git clone https://Username@bitbucket.org/workspace/test.git
Cloning into 'test'...
remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.
fatal: Authentication failed for 'https://Username@bitbucket.org/workspace/test.git'
I am thinking that the problem is with the windows credentials, but could not find any detailed description of how to configure it.
Any suggestion is appreciated.