7 lines
281 B
Plaintext
7 lines
281 B
Plaintext
# /etc/ssh/sshd_config.d/00-hardening.conf
|
|
# Префикс 00- намеренно: sshd берёт первое значение, перебивает cloud-init.
|
|
PasswordAuthentication no
|
|
KbdInteractiveAuthentication no
|
|
PermitRootLogin prohibit-password
|
|
PubkeyAuthentication yes
|