CT 114: restic sftp.command als komplette ssh-Zeile inkl. Host und -s sftp
ci-static / secret-scan (push) Successful in 22s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 29s
ci-static / markdown-links (push) Successful in 21s

restic 0.18 (internal/backend/sftp buildSSHCommand): bei gesetztem
sftp.command wird die komplette Kommandozeile per SplitShellStrings uebernommen
— Host und '-s sftp' werden NICHT angehaengt. Templates liefern jetzt die
volle Zeile 'ssh -F <config> gn-backup@10.0.0.90 -s sftp'.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-11-27 07:22:26 +01:00
parent 69cfa09a3d
commit 2309cd9fab
2 changed files with 2 additions and 1 deletions
@@ -13,6 +13,7 @@ litecoin_backup_known_hosts: "{{ litecoin_backup_env_dir }}/.ssh/known_hosts"
litecoin_backup_ssh_config: "{{ litecoin_backup_env_dir }}/ssh_config" litecoin_backup_ssh_config: "{{ litecoin_backup_env_dir }}/ssh_config"
# ghostnet-ki host key (ed25519), same pin as pve_lxc_backup_sync. # ghostnet-ki host key (ed25519), same pin as pve_lxc_backup_sync.
litecoin_backup_target_host: 10.0.0.90 litecoin_backup_target_host: 10.0.0.90
litecoin_backup_target_user: gn-backup
litecoin_backup_target_host_key_ed25519: >- litecoin_backup_target_host_key_ed25519: >-
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID1UMrhG0WoKlRfadNadWdZogijlhjCz8uXfWbjvxuf8 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID1UMrhG0WoKlRfadNadWdZogijlhjCz8uXfWbjvxuf8
litecoin_backup_script: /usr/local/sbin/litecoin-wallet-backup.sh litecoin_backup_script: /usr/local/sbin/litecoin-wallet-backup.sh
@@ -4,7 +4,7 @@
# the passwd entry, so all paths are absolute. # the passwd entry, so all paths are absolute.
Host {{ litecoin_backup_target_host }} Host {{ litecoin_backup_target_host }}
HostName {{ litecoin_backup_target_host }} HostName {{ litecoin_backup_target_host }}
User gn-backup User {{ litecoin_backup_target_user }}
IdentityFile {{ litecoin_backup_ssh_key }} IdentityFile {{ litecoin_backup_ssh_key }}
IdentitiesOnly yes IdentitiesOnly yes
BatchMode yes BatchMode yes