ssh-certs hosts.
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s

This commit is contained in:
hogweed1
2026-05-22 02:24:39 +10:00
parent 8e46d64354
commit 40e3770523

View File

@@ -53,6 +53,14 @@
group: root
mode: '0640' # Сертификат может быть 0640
- name: Add SSH Host CA to global known_hosts
known_hosts:
path: /etc/ssh/ssh_known_hosts
name: "*.guaranteedstruggle.host"
key: "@cert-authority *.guaranteedstruggle.host,192.168.0.* ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBFlDSADidBfwn3aDJiZM6Yg14bTjDTY6FxNsnBmT2B"
state: present
become: true
- name: Configure SSH HostKeys for Proxmox compatibility
blockinfile:
path: /etc/ssh/sshd_config # Или укажите путь к дроп-ину в sshd_config.d/, если используете их