`remote: Support for password authentication was removed on August 13, 2021.`
BeginnerTroubleshootingAuthentication and Remote Access
Answer
Likely causes → You typed your GitHub account password over HTTPS. GitHub only accepts tokens or SSH keys for Git operations.
Diagnose → git remote -v shows an https:// URL; git config --show-origin credential.helper shows what stored the old password.
Fix → Create a personal access token (fine-grained, with Contents read/write) and use it as the password, or log in with gh auth login and run gh auth setup-git. Alternatively switch the remote to SSH: git remote set-url origin [email protected]:ORG/REPO.git.
Prevent → Use a credential manager so the token is stored once, and rotate before expiry.
More on Authentication and Remote Access
`[email protected]: Permission denied (publickey).` followed by `fatal: Could not read from remote repository.`Beginner`fatal: Authentication failed for 'https://github.com/org/repo.git/'` with a token that worked last month.Beginner`WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!` when connecting to GitHub over SSH.Intermediate`remote: Repository not found.` for a repo you can open in the browser.Beginner`ssh -T [email protected]` says "Hi someone-else!" but you need your work account.Intermediate`ssh: connect to host github.com port 22: Connection timed out` on a corporate or hotel network.Intermediate