feat: decomission proxmox

This commit is contained in:
Simon Cornet 2026-03-02 16:34:53 +01:00
commit f387f98723
3 changed files with 0 additions and 21 deletions

View file

@ -6,22 +6,12 @@ ListenAddress 0.0.0.0
ListenAddress ::
# hostkey
{% if inventory_hostname in groups['proxmox'] %}
HostKey /etc/ssh/ssh_host_rsa_key
{% endif %}
HostKey /etc/ssh/ssh_host_ed25519_key
# Authentication
{% if inventory_hostname in groups['proxmox'] %}
PermitRootLogin yes
{% else %}
PermitRootLogin no
{% endif %}
# Hardening
{% if inventory_hostname in groups['proxmox'] %}
AcceptEnv LANG LC_*
{% endif %}
StrictModes yes
MaxAuthTries 2
MaxStartups 10:50:20
@ -29,9 +19,6 @@ LoginGraceTime 15
MaxSessions 8
PasswordAuthentication no
PubkeyAuthentication yes
{% if inventory_hostname in groups['proxmox'] %}
AllowUsers ansible drone hugo root simon
{% else %}
AllowUsers ansible drone hugo simon
{% endif %}
VersionAddendum ""