From 76ee6714316aae633c305f3899d8a9bbae65faa1 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 28 May 2026 11:48:37 +0200 Subject: [PATCH] backup: use URL schema for default SSH key This works on a freshly installed machine without ssh config yet. --- backup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backup b/backup index 0e98ed8..17331e4 100755 --- a/backup +++ b/backup @@ -3,7 +3,8 @@ set -eu cd $HOME LOG=.cache/backup/log PATH=$PATH:/sbin:/usr/sbin -#RESTIC="restic --password-file $HOME/.config/backup-passphrase --repo sftp:piware.de:backup/restic" +# use default SSH key +# RESTIC="restic --password-file $HOME/.config/backup-passphrase --repo sftp://piware.de:659/backup/restic" # use TPM key; requires ~/.ssh/authorized_keys with # command="internal-sftp -d backup/restic",restrict KEY tpm-backup@abakus RESTIC="restic --password-file $HOME/.config/backup-passphrase --repo sftp:piwaretpmbackup:" -- 2.47.3