Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,762
Community Members
 
Community Events
165
Community Groups

Problem with two step verification

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:

git clone https://Username@bitbucket.org/workspace/test.git

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.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Atlassian Account

How to change your Atlassian account email address

When using an Atlassian account that is not managed, it’s possible to change the email address, but we often receive the following notification on the email that we want to use: Sorry, we couldn'...

1,086 views 2 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you