Fix “Password authentication is temporarily disabled as part of a brownout” on your Ubuntu systems in 5 mins or less!!

Hafeez Khan
2 min readJun 30, 2021

Github has been sending out mails saying “You recently used a password to access the repository at user_name/repo with git using git/2.25.1.

I did not make much out of it and ignored it just like you and thought I’ll do it later or when password authentication stopped working. Jun 30 is when hit me with this error.

Now I’ve got to fix this. There goes my half day of work! Yay!!

This is basically, github telling you that you can no longer use password to do your git operations but you would require a token to do so.

How to get the token, you ask? Follow this link to generate your token and proceed further.

Screen section that gives token

Go back to your terminal. Try “git pull”. And you may get the same error again. If so, then this is because you had cached your credentials. Use this command to remove that cache “git config --global --unset credential.helper”.

Once done, use the git pull command again. Now you will prompted for username and password. Enter your username. But when prompted for password use the token had generated on github. And..! Voila!

If you wish not enter this token everytime you do a git operation, use “git config --global credential.helper cache”.

And that’s it , you are all set to resume your work. And.. it does not take half of your day. Sorry.

--

--