You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
security: disable password authentication by default
Comment out password authentication settings in cloud-init configuration
to enforce SSH key-only access for enhanced security.
Changes:
- Comment out plain_text_passwd field in user configuration
- Comment out ssh_pwauth setting
- Comment out SSH configuration file that enables password auth
- Update final message to reflect SSH key-only access
Password authentication can be re-enabled by uncommenting the relevant
sections if needed for debugging or recovery purposes.
0 commit comments