• 具体错误
D:\github\openjdk8-x86-amd64-arm64-aarch64>git push origin master
info: please complete authentication in your browser...
fatal: An error occurred while sending the request.
fatal: The request was aborted: Could not create SSL/TLS secure channel.
Username for 'https://github.com': quantum6
Password for 'https://quantum6@github.com':
remote: Support for password authentication was removed on August 13, 2021. Plea
se use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requireme
nts-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/quantum6/openjdk8-x86-amd64
-arm64-aarch64/'

原因是不支持密码方式了,改用令牌token

  • 产生KEY

打开git-bash输入命令:

ssh-keygen -t rsa -b 4096cat ~/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDE3Xu+zoNiZFmASBRDK+vKSTYkuqFPH8VisOfS/VH0jEdPoIXK9wAmVQwjy1EYtzInCUFbVBpdKM5GshPQrKhkLTA9oAbnANfLVtTx1iA10q4G5KyfB9RLgp8fG5nJDrZEvNLFwp+9MCwyU55jcgdbcOQyJQXA3GWGKE4c+WNViAUmrPpeYGvVmz5WLh8lCpZFpPjlPZpvjSTJfw== quantum6@WIN7
  • GITHUB新建SSHKEY

Sign in to GitHub · GitHub

SSH Keys

把cat内容复制到网页。

  • 收到的邮件
The following SSH key was added to your account:quantum6
SHA256:wfqWASnmKIG1jDntX9bxB2xTJKOwWp4Z8BbuONCGpbkIf you believe this key was added in error, you can remove the key and disable
access at the following location:https://github.com/settings/keys
  • 新建令牌。直接打开 
    https://github.com/settings/tokens/new

修改Expiration为No expiration(或者其他),所有的都选上(以后搞清楚了再定制新的)。点击Generate token。复制token令牌,类似:

ghp_EGL3ejUIdtAUwMs1fe6mIeefc2Amn3f9SvB

  • 修改配置,更新代码

全网首发:github已经设置了令牌token,为什么还要验证用户密码_柳鲲鹏-CSDN博客

git sync fatal: Authentication failed for https://github.com/ did not exit cleanly (exit code 128)相关推荐

  1. github push 代码出现fatal: Authentication failed for ‘https://github.com/xxx/xxx.git/‘

    fatal: Authentication failed for 'https://github.com/xxx/xxx.git/': 问题描述 想从服务器上push代码到github,遇见fatal ...

  2. 解决报错:fatal: Authentication failed for ‘https://github.com/*/*.git/‘

    目录 问题 解决 步骤一. 步骤二. 步骤三. ​步骤四. ​步骤五. 步骤六. 问题 今天创建一个 github 新仓库,首次上传本地代码时,遇到了一个报错.但是,之前这样操作肯定是没有问题的,毕竟 ...

  3. 解决:fatal: Authentication failed for ‘https://github.com/xxxx/git-demo.git/‘

    文章目录 报错 原因 解决步骤 生成令牌 报错 git执行语句:git push git-demo master 报错:fatal: Authentication failed for 'https: ...

  4. github push 出错:fatal: Authentication failed for 'https://github.com/ ..的解决

    重新执行Git config命令配置用户名和邮箱即可: git config -–global user.name "xxx" git config --global user.e ...

  5. iOS开发:GitHub上传代码错误提示fatal: Authentication failed for 'https://gitee.com/XXX/XXX.git/‘的解决方法

    上传代码到Git上面,有时候会遇到各种情况,有些时候是因为合并代码冲突,有些时候是因为修改了Git的登录密码需要重新认证.那么这里就来讲解错误提示fatal: Authentication faile ...

  6. git报错 git libpng warning: iCCP以及fatal: Authentication failed for ‘https://git.weixin.qq.com‘

    git打卡,本来是老哥带着我做项目,纯git新手小白,以后出现问题自己解决了,顺便分享一下自己的经验,防止以后忘记,顺便给新人铺个路~ 我一开始在使用git clone的时候,一共出现了两个错误,到处 ...

  7. 在提交文件到gitee远程仓库时报用户名密码错误 fatal: Authentication failed for ‘https://gitee.com/xxx/xxx.git 解决方案来啦 亲测有效

    在提交文件到gitee远程仓库时,突然出现一个弹框输入用户名 密码 很懵逼 输入了结果是错误的 D:\文件名>git push -u origin "master" remo ...

  8. Git报错:fatal: Authentication failed for ‘https://gitee.com/.......‘

    提交代码到码云,Git报错如下: Gavin: Incorrect username or password (access token) fatal: Authentication failed f ...

  9. Git push “fatal: Authentication failed ”

    Git push "fatal: Authentication failed " 问题原因 之前设置了两步验证 If you enabled two-factor authenti ...

  10. git中fatal: Authentication failed的问题 git不能clone

    git中fatal: Authentication failed的问题 转载 原文地址

最新文章

  1. Protobuf序列化的原理-存储格式
  2. 遍历WinForm窗体 根据语言类型设置其控件Text显示
  3. 2017.3.29 longge的问题 失败总结
  4. 华擎 j3455 时钟 linux,J3455安装centos步骤
  5. C++局部重载new delete方法剖析
  6. 《Head First设计模式》 读书笔记03 装饰对象
  7. win7将html设为桌面背景,win7系统将桌面背景设置为自己心仪类型的方法
  8. 查手机服务器ip和端口网站,如何查询服务器ip地址和端口号
  9. 腾讯魏巍:Eunomia云原生资源编排优化
  10. 职场一些办公技能和技巧总结
  11. 空间统计之点数据分析
  12. 密码重置用HTML怎么弄,路由器重设密码怎么设置?
  13. python-Counter计数函数以及most_common函数
  14. OpenLayers 5 使用GeoJSON进行行政区划剪裁(clip, not mask or filter),非矢量图层覆盖
  15. @loj - 2478@「九省联考 2018」林克卡特树
  16. 有必要升级到php7,升级到 PHP 7.4
  17. 欧拉中的俯仰、横滚、偏航角
  18. windlx 双精度一维向量相乘 代码
  19. linux 温度控制软件,linux下的cpu温度监控软件 lm-sensors
  20. 计算机应用 审稿2个月,我的《计算机应用》投稿经历

热门文章

  1. 【数据结构】并查集入门例题讲解(c++代码逐句分析)
  2. 中缀表达式转化成后缀表达式
  3. python笔试编程题_编程笔试题(四)栈
  4. mysql 的基本用法_mysql命令行基本用法
  5. 编写高质量java代码_编写高质量的Java代码
  6. aid learning安装应用_Aid Learningapp下载
  7. [知识竞赛策划方案] 【图】关于知识竞赛抢答器的问题
  8. 《Python硬件编程实战》——1.3 Python的特点
  9. 能分析压缩的日志,且基于文件输入的PYTHON代码实现
  10. PostgreSQL【表】