remote: Support for password authentication was removed on August 13, 2021

简介: remote: Support for password authentication was removed on August 13, 2021

是:对密码身份验证的支持已于 2021 年 8 月 13 日移除。请改用个人访问令牌。简单点说就是需要把你的密码换成 token


解决


用户 -> Settings -> Developer settings -> Personal access tokens -> Generate new token -> Generate token


⚠️ 注意把 token 保存下来,只显示一次

# clone代码
git clone https://<your_token>@github.com/<uasename>/<repo>.git
# 设置URL
git remote set-url origin https://<your_token>@github.com/<uasename>/<repo>.git
相关文章
|
2月前
|
数据安全/隐私保护
github报错(完美解决):获取token。remote: Support for password authentication was removed on August 13, 2021.
这篇文章介绍了如何在GitHub上解决因密码认证被移除而导致的推送错误,通过创建和使用个人访问令牌(token)来代替密码进行身份验证。
361 0
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2
4452 0
|
7月前
|
开发工具 数据安全/隐私保护 git
解决方案:Github Support for password authentication was removed on August 13, 2021.
解决方案:Github Support for password authentication was removed on August 13, 2021.
634 1
解决方案:Github Support for password authentication was removed on August 13, 2021.
|
7月前
|
缓存 数据安全/隐私保护 Windows
ECDSA host key for ... has changed and you have requested strict checking.Host key verification fail
ECDSA host key for ... has changed and you have requested strict checking.Host key verification fail
|
数据安全/隐私保护
“Authentication is required”
“Authentication is required”
2112 2
|
7月前
|
网络安全
完美解决 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
完美解决 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
2168 0
Gitlab报错:No authentication methods configured on login page
Gitlab报错:No authentication methods configured on login page
170 0
|
开发工具 数据安全/隐私保护 git
git 报错:Support for password authentication was removed. Please use a personal access token instead.
git 报错:Support for password authentication was removed. Please use a personal access token instead.
392 0
git 报错:Support for password authentication was removed. Please use a personal access token instead.
|
关系型数据库 MySQL 数据库
Your password has expired. To log in you must change it using a client that supports expired passwod
Your password has expired. To log in you must change it using a client that supports expired passwod错误解决
Your password has expired. To log in you must change it using a client that supports expired passwod
|
网络安全
REMOTE HOST IDENTIFICATION HAS CHANGED问题解决
REMOTE HOST IDENTIFICATION HAS CHANGED问题解决
348 0
REMOTE HOST IDENTIFICATION HAS CHANGED问题解决