Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

BitBucket: You are using an account password for Git over HTTPS

Tags:

git

ssh

bitbucket

Today I got the following message when I used Git + BitBucket on MacOS while pushing a new branch to BitBucket.

You are using an account password for Git over HTTPS.

Beginning March 1, 2022, users are required to use app passwords remote: for Git over HTTPS. To avoid any disruptions, change the password used in your Git client remote: to an app password. Note, these credentials may have been automatically stored in your Git client and/or a credential manager such as Git Credential Manager (GCM).'

like image 775
Robin Wieruch Avatar asked Mar 05 '26 14:03

Robin Wieruch


1 Answers

In my case, I used BitBucket via HTTPS and not via SSH. Therefore I had to change it.

  1. Follow this guide to create and add a new SSH key.
  2. Follow this guide to switch from HTTPS to SSH.

Unrelated and optional:

While you are at this security related task, activate 2FA in your BitBucket security settings.

like image 157
Robin Wieruch Avatar answered Mar 08 '26 05:03

Robin Wieruch



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!