feat(role): Secure SSH config
This commit is contained in:
6
ansible/roles/20-common-20-ssh/files/etc/ssh/sshd_config
Normal file
6
ansible/roles/20-common-20-ssh/files/etc/ssh/sshd_config
Normal file
@@ -0,0 +1,6 @@
|
||||
PubkeyAuthentication yes
|
||||
PasswordAuthentication no
|
||||
PermitEmptyPasswords no
|
||||
UsePAM no
|
||||
PermitRootLogin without-password
|
||||
PrintMotd yes
|
Reference in New Issue
Block a user