1

I read this https://bitbucket.org/blog/ssh-host-key-changes but they explained it so poorly. Can someone actually write what needs to be done to make it work? I did all the steps from their site and I still cannot push, pull or fetch.

I can switch to GitHub, no problem there. But if someone can write what actually needs to be done to make it work that would be great.

Misko Mali
  • 617
  • 1
  • 7
  • 17

1 Answers1

2

The main commands are:

ssh-keygen -R bitbucket.org
curl https://bitbucket.org/site/ssh >> ~/.ssh/known_hosts

You can do so from a bash session (even on Windows, since Git for Windows comes with %PROGRAMFILES%\Git\bin\bash.exe).

Add where? On my laptop?

Yes, you need to do so from every machine you want to authenticate to Bitbucket.

See more at "Bitbucket: Host key verification failed".

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250