git clone项目失败,Host key verification failed.

时间:2022-08-09 10:57:09

在码云上创建了一个项目,配置好公钥后,克隆到我本地出现以下失败

git clone项目失败,Host key verification failed.

百度了好久也没有找到解决办法,困扰了好久,后来还是百度到了,

原来是在提示

ey fingerprint is SHA256:FQGC9Kn/eye1W8icdBgrQp+KkGYoFgbVr17bmjey0Wc.Are you sure you want to continue connecting (yes/no)?

这句时,不能直接按"回车"键过去,要手动输入"yes"才可以

git clone项目失败,Host key verification failed.