This repository was archived by the owner on Oct 10, 2025. It is now read-only.
Commit e5f29a2
committed
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.1 parent ed1bcb0 commit e5f29a2
1 file changed
+11
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
168 | | - | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| |||
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
177 | | - | |
| 178 | + | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
| |||
0 commit comments