First
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# /etc/ssh/sshd_config.d/00-hardening.conf
|
||||
# Префикс 00- намеренно: sshd берёт первое значение, перебивает cloud-init.
|
||||
PasswordAuthentication no
|
||||
KbdInteractiveAuthentication no
|
||||
PermitRootLogin prohibit-password
|
||||
PubkeyAuthentication yes
|
||||
Reference in New Issue
Block a user