github提交时报错:remote: Support for password authentication was removed on August 13, 2021.

完整错误


remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: unable to access 'https://github.com/18696232390/lu-spring.git/': The requested URL returned error: 403

上周五还好好的,现在就无法提交了,百度上的几个方案均试过 ,都没用。
求个最终解决方案 。感谢。

大致意思是,密码验证于2021年8月13日不再支持,也就是今天intellij不能再用密码方式去提交代码。请用使用 personal access token 替代。
详情参考 GitHub不再支持密码验证解决方案:SSH免密与Token登录配置 - 云+社区 - 腾讯云 remote: Support for password authentication was removed on August 13, 2021. Plea... https://cloud.tencent.com/developer/article/1861466 望采纳

我也是14号发现这个问题,不过可以加入ssh密钥就可以了

另外我没有加ssh密钥的机器,用vscode可以直接跳转到web页面认证,也能push。