-
- Downloads
Use restrict key option and relative borg command
No functional change; the "restrict" key option is a shorthand for: - no-agent-forwarding - no-port-forwarding - no-X11-forwarding - no-pty - no-user-rc It was added in OpenSSH 7.2 (2016-02-29) as a convenient way to specify an authorized key should have "all current and future key restrictions" applied to it. Also switch to a relative borg command since its location is not really standardized; on rsync.net it appears to be located under usr/local/bin (though /usr/bin/borg works too, even if it doesn't exist!) and Hetzner just forces its own command, ignoring ours.The Borg documentation seems to agree with both the above alterations: [1] https://borgbackup.readthedocs.io/en/stable/usage/serve.html
parent
3fa8851a
No related branches found
No related tags found
Showing
- roles/borg_server/tasks/main.yml 1 addition, 1 deletionroles/borg_server/tasks/main.yml
- roles/hetzner_storagebox/templates/authorized_keys.j2 1 addition, 1 deletionroles/hetzner_storagebox/templates/authorized_keys.j2
- roles/rsync_net/templates/authorized_keys.j2 1 addition, 1 deletionroles/rsync_net/templates/authorized_keys.j2
Please register or sign in to comment