Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had to re-install Raspbian OS and now it has new SSH key. SSH clients usually let ignore this fact and save the new key, but not now. Mathematica gives no way to go if the Host Key was changed. I get an error

SSH received a different Host Key while launching kernel 'Raspberry Pi'. Error code = 124.

when trying to start remote kernel and I have found no any information about where is the Mathematica's SSH client on Windows... I just need to clear known hosts... The easy way is to change Raspberry's IP, but it's far less interesting, moreover not always possible

share|improve this question
Feel free to answer your own question, and maybe describe the answer in a little more detail. It will be useful for other people who run into the same problem. – Szabolcs Mar 8 '14 at 18:53

Solution found using ProcMon and is That Simple!


So if you have the same problem, then just open the file C:\Users\%USERNAME%\.ssh\known_hosts using any notepad and delete the entity with the outdated key. Restart Mathematica and try to connect to the remote ketnel. The new key will be created.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.