Unraid forgets everything outside the flash drive at reboot, including a key you added by hand.
The 6.9.0 release notes say to put the authorized_keys file in /boot/config/ssh/root/. A symlink from /root/.ssh points to that folder, so a key added in /root/.ssh ends up in the same place. At boot, files in config/ssh (not its subfolders) are copied to /etc/ssh. If an old go script copies keys, remove that part.
nano /boot/config/ssh/root/authorized_keys
Paste your public key on its own line. Two caveats. Only root can log in over SSH, and root needs a password that is not empty. And the key field on the root user page accepted only RSA and ECDSA keys in 6.10.3, not ed25519, according to a bug report. I do not know if that is still true, so I edit the file.
Further reading: Unraid docs: Version 6.9.0 release notes, Unraid forum bug report: root SSH authorized keys field and ed25519, On this site: /boot/config/go runs your own commands at every boot, On this site: mirror the syslog to the boot drive, but only for a few days