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 管理、购物车、订单管理、支付宝支付、微信支付、订单退款流程、优惠券等
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
讨论数量: 6
xuding

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

7年前 评论

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

7年前 评论

@XuDing

返回
Host key verification failed.

7年前 评论
xuding

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

7年前 评论

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

7年前 评论
xuding

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

7年前 评论

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