这一步报错了 git push -u origin master
Topic sourceRSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. 这个是电脑上提示的代码
b1:ab:f6:17:4f:ea:6c:9c:2e:03:d8:dc:4f:94:25:a4 这个是复制到github上的代码 不一样是什么原因
Are you sure you want to continue connecting (yes/no)? 之后不要直接回车确认,输入“yes”就可以了,来源http://blog.csdn.net/fffy2366/article/details/42437105
我也试了很多方法,后面解决是先确认网连接的是外网,不是公司的内网。其次创建SSH Key的时候按enter键确认目录是在你创建的库的目录下,因为当时我还有其他的库,所以总是创建在其他库里,这样的SSH Key用了会报错。最后还有一个不用SSH改用HTTP解决这个的办法,就是在出现这种情况后用git remote rm origin,然后把HTTP的那两步操作一遍就可以了。我是这么解决的,不知道对你有没有帮助。
- 1
-申-昜
The authenticity of host 'github.com (192.30.252.131)' can't be established. RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. Are you sure you want to continue connecting (yes/no)? Host key verification failed. fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
请问这个怎么解决??