|
|
|
|
|
by samlinnfer
588 days ago
|
|
24.04 also ships with a footgun that keeps PasswordAuthentication enabled even if you edit /etc/ssh/sshd_config. It adds a /etc/ssh/sshd_config.d/50-cloud-init.conf that force overrides any PasswordAuthentication settings you have configured in /etc/ssh/sshd_config. See here: https://news.ycombinator.com/item?id=42133181 |
|
Edit: It's not really a mistake on Ubuntu's part, and is common in other distros for overriding upstream defaults[1].
[1]: https://askubuntu.com/a/1516347