git 如何解决The authenticity of host 'git.coding.net (123.59.86.7)' can't be established问题

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

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

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

你可能感兴趣的:(git 如何解决The authenticity of host 'git.coding.net (123.59.86.7)' can't be established问题)