Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,329
Community Members
 
Community Events
176
Community Groups

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

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.

1 answer

1 accepted

0 votes
Answer accepted

I found a solution that works.

  • Go to C:\Users\<your_username>\.ssh
  • Open the known_hosts.txt file
  • Delete the whole section for the RSA key that is giving you the error
  • Then you should be able to use git to clone or fetch or whatever you were trying to do.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events