问题:
用命令ssh -T git@github.com查看git认证是否配置成功时报“The authenticity of host 'github.com (192.30.252.131)' can't be established.”的错
[root@iZ94xpmg9boZ .ssh]# ssh -T git@github.com The authenticity of host 'github.com (13.250.177.223)' can't be established. RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. Are you sure you want to continue connecting (yes/no)? Warning: Permanently added 'github.com,13.250.177.223' (RSA) to the list of known hosts.Permission denied (publickey).
解决方案:
Are you sure you want to continue connecting (yes/no)? #这里输入yes回车

本文详细介绍了在使用SSH命令连接GitHub时遇到的主机认证失败问题,并提供了具体的解决方案,包括如何确认并接受GitHub的RSA公钥指纹。
1643

被折叠的 条评论
为什么被折叠?



