Git Host key verification failed.如何解决?

git push -u origin master
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

请问如何解决?
一切都是根据教程来的,怀疑是ssh key的问题,全部重新生成了一遍,在虚拟机正常,就是无法上传到Github上。

《L05 电商实战》
从零开发一个电商项目,功能包括电商后台、商品 & SKU 管理、购物车、订单管理、支付宝支付、微信支付、订单退款流程、优惠券等
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
讨论数量: 6
xuding

ssh -T git@github.com 什么结果

8年前 评论

ssh -T git@github.com
返回
Host key verification failed.

8年前 评论

@XuDing

返回
Host key verification failed.

8年前 评论
xuding

本机无法SSH到github.你的ssh key没加好。

8年前 评论

@XuDing SSH Key我重新生成了一遍依旧不行。请问如何检查或者如何添加?

8年前 评论
xuding

我不知道你现在看的是哪个教程。
官方链接(https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/)有很详细的解释
如果还不行,加我微信,我看着你加。

8年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!