This change adds a check to the security_fixes.sh script to create an empty authorized_keys file if one doesn't already exist, and to ensure its permissions (and the permissions of the .ssh directory it's in) are set properly for key auth to work. It also cleans up some cruft. I've verified this on my MiSTer running the current kernel (5.15.1-MiSTer).
This change adds a check to the security_fixes.sh script to create an empty authorized_keys file if one doesn't already exist, and to ensure its permissions (and the permissions of the .ssh directory it's in) are set properly for key auth to work. It also cleans up some cruft. I've verified this on my MiSTer running the current kernel (5.15.1-MiSTer).