remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

js yekong

自2021年8月13日起,github不再支持使用密码push的方式

Pushing to https://github.com/yelingkong/demoecharts.git
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: Authentication failed for 'https://github.com/yelingkong/demoecharts.git/'
Pushing to https://github.com/yelingkong/demoecharts.git
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: Authentication failed for 'https://github.com/yelingkong/demoecharts.git/'
Pushing to https://github.com/yelingkong/demoecharts.git
fatal: unable to access 'https://github.com/yelingkong/demoecharts.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 
Completed with errors, see above

进入 developer settings

wanjunshijiecom 2021-12-30 at 11.11.44

选择 Personal access tokens 获取tokens

wanjunshijiecom 2021-12-30 at 11.11.59

使用tokens进行鉴权就可以了。

喜欢