durcit le serveur : pare-feu nftables, SSH par clé, fail2ban, chrony, mises à jour de sécurité
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
b7e866f868
commit
f5a5e8d8a9
13 changed files with 377 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
# Géré par Ansible (rôle durcissement) — ne pas modifier à la main.
|
||||
# Lu en premier (Include est la première ligne de sshd_config), donc ces valeurs
|
||||
# l'emportent sur les réglages par défaut du fichier principal.
|
||||
PermitRootLogin no
|
||||
PasswordAuthentication no
|
||||
KbdInteractiveAuthentication no
|
||||
PubkeyAuthentication yes
|
||||
X11Forwarding no
|
||||
Loading…
Add table
Add a link
Reference in a new issue