aboutsummaryrefslogtreecommitdiff
path: root/templates/authorized_keys
diff options
context:
space:
mode:
Diffstat (limited to 'templates/authorized_keys')
-rw-r--r--templates/authorized_keys3
1 files changed, 3 insertions, 0 deletions
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 %}