CT 114: restic sftp.command als komplette ssh-Zeile inkl. Host und -s sftp
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:
@@ -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
|
||||||
|
|||||||
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user