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
By default on a fresh ubuntu VPS install, Include /etc/ssh/sshd_config.d/*.conf (L12) is included within /etc/ssh/sshd_config.
/etc/ssh/sshd_config.d/50-cloud-init.conf contains the setting PasswordAuthentication Yes
This overrides the setting within /etc/ssh/sshd_config
A user following the Secure My VPS guide step by step won't actually be disabling password logins where the guide would lead them to believe they have.
Please consider fixing this. I spent 20 minutes confused as to why I was still able to authenticate using password (using ssh flags -o PreferredAuthentications=password -o PubkeyAuthentication=no) after disabling it in sshd_config.
By default on a fresh ubuntu VPS install,
Include /etc/ssh/sshd_config.d/*.conf
(L12) is included within/etc/ssh/sshd_config
./etc/ssh/sshd_config.d/50-cloud-init.conf
contains the settingPasswordAuthentication Yes
This overrides the setting within
/etc/ssh/sshd_config
A user following the Secure My VPS guide step by step won't actually be disabling password logins where the guide would lead them to believe they have.
docs/pages/cloud/vps/secure_your_vps/guide.en-us.md
Line 149 in 6187a1f
The text was updated successfully, but these errors were encountered: