UOS-RZ / secure_sshd

Ansible role to harden the sshd configuration
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Login Configuration #9

Closed lkiesow closed 3 months ago

lkiesow commented 3 months ago

This patch adds default configuration for root and password logins and makes it easy for users to overwrite these settings.

Logins as root are permitted by default using an SSH key, but not using a password. While disabling this entirely is often a good idea, settings that as default could easily lock out users by accident.

Using passwords for login is generally a bad idea and people should use SSH keys anyway. Disabling this by default should not hurt.