Files
cloud-backup/templates/home/backup/.ssh/config.j2
T
lhahnandClaude Opus 5.5 b09d1af493 Backup server: use backup_server_clients for keys and ssh config
Borg passphrase files are named by app; looping over all backup_clients let public-cloud-frontend overwrite the key of the live 'webserver' repo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 21:58:21 +02:00

7 lines
238 B
Django/Jinja

{% for client in backup_server_clients %}
Host {{ client }}
HostName {{ backup_host }}
Port {{ backup_ssh_port }}
User {{ backup_server_clients[client].owner }}
IdentityFile {{ backup_home }}/.ssh/{{ client }}
{% endfor %}