Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

ssh

bitbucket

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

http://imgur.com/38p8n
http://imgur.com/3B35N
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!

like image 666
fy_iceworld Avatar asked Dec 30 '12 06:12

fy_iceworld


1 Answers

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

Git Repository View

2.Enter repo name Enter Repo Name


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

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


5.Finaly click save and push button

like image 199
Deshan Avatar answered Sep 27 '22 18:09

Deshan