知道github无法通过验证的问题了。

当时偶然就看到过,和mac系统的升级有关系。

https://zhuanlan.zhihu.com/p/577209888

其实就是 —— 引用:

其实原因就是Ventura系统自带的ssh客户端(openssh 9.0),是默认关闭了rsa加密的!
但是可以通过在路径”/etc/ssh“(或”/private/etc/ssh“,前者是快捷方式)路径下找到ssh_config文件。将其打开,在最后添加两行(保存的时候需要提供权限,不会终端权限的建议使用Visual Sutdio Code,保存的时候会提示输密码
HostkeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa
搞定!亲测有效!

其他细节也可以在这篇知乎文章和评论中看到。


Posted

in

,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *