From: Martin Pitt Date: Thu, 28 May 2026 09:48:37 +0000 (+0200) Subject: backup: use URL schema for default SSH key X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=76ee6714316aae633c305f3899d8a9bbae65faa1;p=bin.git backup: use URL schema for default SSH key This works on a freshly installed machine without ssh config yet. --- 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:"