Showing posts from May, 2015

ssh_forget_host is keygen for Chrome OS in crosh

As I've spent too much time searching for this... I want to quickly capture this for the world (and myself) for future reference.

SSH allows you to connect to a remote machine (e.g. a Raspberry Pi that does not have it's own screen or keyboard connected).
On the first connection, your operating system will store a signature of the remote machine that you presumably trust, and then on subsequent connections, the signature is checked to ensure you are not subject to a man-in-the-middle attack.

If, like me, your Pi is rebuilt or cloned, then you will see a warning, something to the tune of "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!"

On a Mac you can issue the ssh-keygen -R command, but what do you do on a Chromebox (or Chromebook) in the terminal (or crosh) command?

The answer is simple:
ssh_forget_host Enjoy.