TortoiseGit拉取代码报错,You're using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type.

前因:Github移除了用户名密码验证方式,通过 SSH 或 git://连接的新客户端不允许使用RSA SHA-1签名(SHA-1 is weak)

解决方案:改用ed25519或RSA SHA-2签名

生成工具:PuTTY Key Generater

生成步骤与过去相同;

 

TortoiseGit(版本 2.10.0.2)配置:

1. 右键 - TortoiseGit - 设置 - Git - 远端 - origin - PuTTY密钥,设置指定ppk文件(私钥)

 

Pageant配置

2. 打开Pageant - 移除不再使用的RSA SHA-1签名

 

参考:

TortoiseGit配置GitHub账号的SSH keys

Improving Git protocol security on GitHub

 

posted @   夏夏夏夏夏夏夏  阅读(864)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
© 2014 Tea.Fish Do't Retain Any Rights. 版权没有,随意粘贴
点击右上角即可分享
微信分享提示