If you have been trying to configure your GIT repository in Ubuntu either using VS Code or via terminal, you might have received the error, "Support for password authentication was removed on August 13, 2021", even if you are providing the correct username and password.
Solution:
You need to use Personal Access Token (PAT) instead of your password that you use for Github login.
How to Generate Personal Access TokenĀ (PAT)
- Go to your Github profile
- Click on your profile picture and click Settings
- Click Developer Settings
- Go to Personal Access Tokens (PAT)
- Generate a new token
- Fill out the form, and generate a new token
- Now use the Token value as password. That's itĀ !!!