The authenticity of host 'github.com (192.30.253.113)' can't be established.

Posted 昃昃

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The authenticity of host 'github.com (192.30.253.113)' can't be established.相关的知识,希望对你有一定的参考价值。

  在初始化git之后(git init),同时在github建立好仓库之后,本地也新增了ssh kye(ssh-keygen -t rsa -C ‘mail address’),同时也在本地新增了远程仓库(git remote add origin github地址), 但是在git push的时候出现错误

  

The authenticity of host ‘github.com (192.30.255.112)‘ can‘t be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? 

这里你直接回车的话会出现验证失败

Host key verification failed.
fatal: Could not read from remote repository.

 

验证失败。谷歌了一下,原来是本地少了 know_host文件,只要在刚刚那个位置输入yes就可以了,而不是回车(回车惯了)

以上是关于The authenticity of host 'github.com (192.30.253.113)' can't be established.的主要内容,如果未能解决你的问题,请参考以下文章

The authenticity of host 192.168.0.xxx can't be established

ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题

ssh连接时去掉“The authenticity of host xx can’t be established”解决方法

The authenticity of host 'github.com (192.30.253.113)' can't be established.

关于 git 本地创建 SSH Key 遇到的一点问题(①file to save the key & ②the authenticity of host...)

好记心不如烂笔头,ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题