美文网首页工具函数、正则等
git 如何解决The authenticity of host

git 如何解决The authenticity of host

作者: Rosa_Lv | 来源:发表于2018-05-27 23:54 被阅读0次

出现此问题的原因是在新生成密钥之后,在.ssh文件夹中少了known_hosts文件,解决办法很简单:

Are you sure you want to continue connecting (yes/no)? yes

这里填yes就好了。
此时选择yes回车之后便生成了缺少了的known_hosts文件。

相关文章

网友评论

    本文标题:git 如何解决The authenticity of host

    本文链接:https://www.haomeiwen.com/subject/krtwjftx.html