MiSTer-devel / Scripts_MiSTer

Miscellaneous Bash scripts for MiSTer
GNU General Public License v3.0
83 stars 43 forks source link

Added authorized_keys check and fix for 5.x kernels #67

Closed Kreeblah closed 2 years ago

Kreeblah commented 3 years ago

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).