Why SSH Password Login Persisted: cloud-init Drop-in Trap (opens in new tab)
Why SSH Password Login Persisted: The cloud-init Drop-in Configuration Trap There was a time when I tried to disable SSH password login and use only key authentication to enhance server security. Despite changing the PasswordAuthentication setting to 'no' in the /etc/ssh/sshd_config file and restarting the sshd daemon, I still encountered a situation where password access was possible. I was frustrated that the configuration file I modified wasn't being applied. It made me pause, thinking tha...
Read the original article