Asus router new firmware and factory reset missing correct host key

Just did a firmware upgrade (newest merlin) and i had to do a factory reset on my router.
Now my Hass.io gives me this error multiple times:

2018-03-14 16:40:56 ERROR (SyncWorker_14) [homeassistant.components.device_tracker.asuswrt] Connection refused.
b'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\r\n@    
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     
@\r\r\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\r\n
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\r\r\n
Someone could be eavesdropping on you right now (man-in-the-middle attack)!\r\r\n
It is also possible that a host key has just been changed.\r\r\n
The fingerprint for the ECDSA key sent by the remote host is\r\n
SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.\r\r\n
Please contact your system administrator.\r\r\n
Add correct host key in /root/.ssh/known_hosts to get rid of this message.\r\r\n
Offending ECDSA key in /root/.ssh/known_hosts:1\r\r\n
ECDSA host key for 192.168.111.1 has changed and you have requested strict checking.\r\r\n
Host key verification failed.\r\r\n'

Anyone know how to reset this host key / known_hosts?

The error is telling you that the host key recorded in your hassbian machine doesn’t match the one presented by the router. Sounds like the router has a new host key.

The error message is telling you that the key is in the file /root/.ssh/known_hosts at line 1

Offending ECDSA key in /root/.ssh/known_hosts:1

Here’s how to reset:

Open this file in your favorite editor as root or sudo and delete line 1. Save the file and then try to connect again.

How to find that file when you running HASS.IO not hassbian?
I dont have any folder called /root/.ssh on my HASS.IO

I have the same problem, did you manage to solve it somehow? I tried using find . -name “known_hosts” from the root folder but no success.

I found the file in /home/homeassistant/.ssh/ with filename known_hosts. I deleted the first line in nano using Ctrl+K, saved and did and reboot, and all fine now.

Rather than editing the file, you can also remove the old host using ssh-keygen, which should find your default .ssh files. It also backs up your known_hosts before changing it.

ssh-keygen -R 192.168.111.1