100字范文,内容丰富有趣,生活中的好帮手!
100字范文 > git clone时The authenticity of host ‘xxx‘ can‘t be established.

git clone时The authenticity of host ‘xxx‘ can‘t be established.

时间:2022-06-24 22:10:28

相关推荐

git clone时The authenticity of host ‘xxx‘ can‘t be established.

clone时出现如下:

The authenticity of host ' (212.64.62.183)' can't be established.ED25519 key fingerprint is SHA256:+ULzij2u99B9eWYFTw1Q4E...........This key is not known by any other namesAre you sure you want to continue connecting (yes/no/[fingerprint])?

如果仅一次输入yes也无妨,关键是每次git操作都得输入。是可忍孰不可忍~~

找了找发现.ssh文件夹(公钥文件所在处)下只有两个文件,未生成known_hosts文件

#需要每次输入时文件id_rsaid_rsa.pub#正常文件id_rsaid_rsa.pubknown_hosts

于是rm -rf 掉重新生成🔑。再次clone一气呵成

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。