I want to be able to SSH in to my mac.
I do not want to be able to use passwords to authenticate.
I know how to configure this, what to put in
/etc/ssh/sshd_config. But every time I install even a minor OS version upgrade, I have to go make these changes again, and its failure mode is "fail dangerous" - it simply starts allowing password authentication again.
Is there some other way to tell the OS not to re-enable password authentication on every update?