bitbucket - The authenticity of host 'bitbucket.org' can't be established

六月ゝ 毕业季﹏ 提交于 2019-12-09 11:29:41

问题


I've been getting this issue when trying to push to my bitbucket repo, not sure why the fingerprints don't match:



It asks me if I want to continue, but I can't type anything in the dialog after hitting ok. Any insight? Thanks in advance!

回答1:


I had the same problem..found that this happens because bitbucket.org is not in the Known Host list . these are steps from the scratch... (Assumed you are using EGit with Eclipse and have configured ssh keys)

EDIT: To Create Local Repository
1.Right click project ->Team -> Share Project
2. Select GIT from the menu click next (Ignore message "HOME environment variable not set..")
3.Select use or Create repo. in parent folder...and select the project
4.hit create repo. button -> finish

1.In Eclipse Open the Git Repository View
Window->show view->other->Git->Git Repository


2.Enter repo name


3.From next window click ADD button enter repository uri the click finish

4.Now click the Dry Run Button and you should get the following dialog click YES and bitbucket will be added to known hosts


5.Finaly click save and push button



来源:https://stackoverflow.com/questions/14088810/bitbucket-the-authenticity-of-host-bitbucket-org-cant-be-established

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!