I am new to Raspberry Pi.

I am trying to access my RPi over intranet using Google Secure Shell, but I guess I am blocked. When I tried to access the RPi from my friend's system it allowed me.

It shows following error:

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 ECDSA key sent by the remote host is
Please contact your system administrator.
Add correct host key in /.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /.ssh/known_hosts:2
ECDSA host key for has changed and you have requested strict checking.
Host key verification failed.
NaCl plugin exited with status code 255.
(R)econnect, (C)hoose another connection, or E(x)it?

What should I do. I searched over internet and they suggested me to delete the .ssh/known_hosts file. but I am not able to find that also.

There is no such files in my home directory.

Please help me. Thank You.

1 Answer 1


TLDR solution to your exact problem: type this into a Chrome javascript console: term_.command.removeKnownHostByIndex(2)

I assume this is what you term the "google secure shell"? If so, it has a mailing list, a few comments point to a faq entry on clearing known hosts, and a user even suggests a quick javascript bookmarklet.

Be very careful and think about why you are removing an entry from the known_hosts file. It generally indicates you are connecting to a different machine than you expect. That might be due to a reinstall of the operating system or it could be something like a man in the middle attack.

  • I guess you dint read the question correctly, I am not able to find the known_hosts file too. That is not present
    – Veer
    Commented Aug 2, 2013 at 21:43
  • You need to read the link @tedder42 provided for the FAQ on how to clear known hosts ... the link is git.chromium.org/gitweb/?p=chromiumos/platform/… Commented Aug 2, 2013 at 22:29
  • thanks @HeatfanJohn- I put the exact command to run at the top of the answer. Commented Aug 3, 2013 at 1:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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