Issues connecting to Hassio host via SSH since latest update

I updated to the latest Hassio yesterday. Today when I tried to SSH onto the host os I got told the it didn’t match the known host, so I went and cleared out the known_hosts entry for [hassio.local]:22222.

I tried to connect again but got told Permission denied (publickey), I hadn’t changed my SSH keys recently but I updated the known_hosts on the SD card anyway with my public key. It still wouldn’t connect so I generated a completely new SSH key and updated the known_hosts again but still no luck. I’ve also explicitly told the ssh agent to use the key I’ve setup on the SD card via the -i flag but still no joy.

Has anyone else had any similar issues / knows how to fix this?

Never mind, I’m an idiot.

I was updating known_hosts instead of authorized_keys on the SD card.

Although the update did seem to delete my existing authorized_keys file… ?