From f084bd976cf942a43df7bbc77c63e21bf1045970 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 5 Jul 2022 21:15:26 +0200 Subject: Fixed authorized_keys configuration drift, and change repo directory from hostname to fqdn --- templates/authorized_keys | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 templates/authorized_keys (limited to 'templates/authorized_keys') diff --git a/templates/authorized_keys b/templates/authorized_keys new file mode 100644 index 0000000..49c8820 --- /dev/null +++ b/templates/authorized_keys @@ -0,0 +1,3 @@ +{% for client in borg.server.clients %} +command="borg serve --restrict-to-path /srv/borg/repos/{{ client.hostname }}",restrict {{ client.pubkey }} +{% endfor %} -- cgit v1.2.3