Hello all,
I am getting this error whenever I try to do anything with Bitbucket. All of my personal repos and all the team stuff I am working on.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:eYTtqNXZHMS/TJH1nE4VyvIuF1b3FJDfMH/0D16SFus.
Please contact your system administrator.
Add correct host key in /c/Users/PEL6FH/.ssh/known_hosts to get rid of this mess
Offending RSA key in /c/Users/PEL6FH/.ssh/known_hosts:4
Host key for [sourcecode.socialcoding.bosch.com]:7999 has changed and you have r
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
How can I fix this? I am not a git guru, please be as explicit as possible in any responses. It seems like I need to copy the host .ssh key to my known_hosts file? Where do I find this host key?
Thank you in advance for any help you can provide.
I found a solution that works.
Hi @Lloyd Peltier
I was also getting same error and I tried the above method and it worked, but somehow it added the other sections also in the known_hosts.txt file which were not there when i run ssh-add command via ssh agent. Earlier there were only one entry for bitbucker which are somehow now three. Can you explain why it is so?
Also how to check from where these entries are generated in that known_hosts file?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.