Fixed authorized_keys configuration drift, and change repo directory from hostname to fqdn
This commit is contained in:
parent
42790f21cd
commit
f084bd976c
8 changed files with 36 additions and 26 deletions
3
templates/authorized_keys
Normal file
3
templates/authorized_keys
Normal file
|
@ -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 %}
|
Reference in a new issue