Skip to content

Commit

Permalink
fix: disable password authentication
Browse files Browse the repository at this point in the history
Fixes a bug where the task "Init backup repository" is stuck.
  • Loading branch information
SamK authored and apollo13 committed Jan 1, 2024
1 parent 33797ff commit 4c51e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/environment.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
BORG_REPO="{{ borgbackup_repository }}"
BORG_PASSPHRASE="{{ borgbackup_passphrase }}"
BORG_RSH="ssh -i {{ borgbackup_home }}/config/id_ssh_ed25519 -o UserKnownHostsFile={{ borgbackup_home }}/config/known_hosts -o StrictHostKeyChecking={{ borgbackup_hostkey_checking }} -o ServerAliveInterval={{ borgbackup_ssh_server_alive_interval }} -o ServerAliveCountMax={{ borgbackup_ssh_server_alive_count_max }}"
BORG_RSH="ssh -i {{ borgbackup_home }}/config/id_ssh_ed25519 -o UserKnownHostsFile={{ borgbackup_home }}/config/known_hosts -o PasswordAuthentication=no -o StrictHostKeyChecking={{ borgbackup_hostkey_checking }} -o ServerAliveInterval={{ borgbackup_ssh_server_alive_interval }} -o ServerAliveCountMax={{ borgbackup_ssh_server_alive_count_max }}"

0 comments on commit 4c51e34

Please sign in to comment.