git 上传下载报错

报错信息

1
2
3
4
5
remote: Password authentication is not available for Git operations.
remote: You must use a personal access token or SSH key.
remote: See https://github.ibm.com/settings/tokens or
'https://github.ibm.com/xx/xx.git/':
The requested URL returned error: 403

官方文章

解决方案

登录github,生成个人令牌进行认证即可 个人令牌,双因素认证

步骤

  1. 登录 github
  2. 选择头像
  3. Settings
  4. Developer settings
  5. OAuth Apps
    Personal access tokens
    Personal access tokens
  6. Generate new token
  7. 填写描述、过期时间、选择权限范围 创建即可
  8. 复制生成的令牌备用 ==只会出现一次!!!==
  9. 后续在需要输入 git 密码的部分输入令牌即可

报错信息

1
github|fatal:unable to access|OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com 443

解决方案

  • 设置 git config –global http.sslVerify false
作者

lizhongyuan3

发布于

2021-10-29

更新于

2022-09-05

许可协议

评论