Cloning into ‘*****‘... The authenticity of host ‘gitee.com (212.64.32.174)‘ can‘t be established.

git clone的时候出现
Cloning into ‘fn_face’…
The authenticity of host ‘gitee.com (212.64.32.174)’ can’t be established.
ECDSA key fingerprint is SHA256:FQGsdKn/eye1W8icdBgrQp+KkGYssbVr17asjey0Wc.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
在这里插入图片描述
解决方案:
在新生成密钥之后,在.ssh文件夹(之前的文章有提到过)中少了一个known_hosts文件,本来密钥文件应该是三个,现在是两个,便报了这样的错误,此时选择yes回车之后,便可,同时生成了缺少了的known_hosts文件

你可能感兴趣的:(git)