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!
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!
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
Some insight:
on freshly installed macos, from the terminal, after first git clone, the host was added to file known_hosts.
Cloning into '<name of new dir>'...
The authenticity of host '<bitbucket site>:<portno> ([<ip address>]:<portno>)' can't be established.
RSA key fingerprint is <...>
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Et cetera.
Repo was cloned, directory was cloned.
cat ~/.ssh/known_hosts
<bitbucket site>:<portno> ssh-rsa <rsa key>
© 2022 - 2024 — McMap. All rights reserved.