Can't login through SSH

Hi,

I’m trying to connect to my OSMC via ssh. In terminal, I am writing ssh osmc:osmc@192.168.... I am getting this:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 ECDSA key sent by the remote host is
SHA256:wjRTyczGRIfxlzQHeESBEvTrbeEPCbo38gfX2/d2d9c.
Please contact your system administrator.
Add correct host key in /Users/tomek/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/tomek/.ssh/known_hosts:12
ECDSA host key for 192.168.0.19 has changed and you have requested strict checking.
Host key verification failed.

I added my host to know_hosts. What can I do?

You will get this warning if you re-install OSMC, nothing to really worry about. I think changing the network interface (new USB dongle) will also cause this.

Just edit your local (not on OSMC) known_hosts file and remove line 12. That’s the line with the old key.

GOOGLE SEARCH TERM: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

http://bit.ly/1JQ9E2w