Create SSH config for borg providers
This commit is contained in:
parent
fbdce3166f
commit
f4152f9a5e
5 changed files with 23 additions and 14 deletions
7
templates/ssh_config.j2
Normal file
7
templates/ssh_config.j2
Normal file
|
@ -0,0 +1,7 @@
|
|||
{% if 'borgbase' in borg_providers %}
|
||||
Host *.repo.borgbase.com
|
||||
IdentityFile {{ borg_ssh_key_file_path }}
|
||||
{% elif 'hetzner' in borg_providers %}
|
||||
Host *.your-storagebox.de
|
||||
IdentityFile /root/.ssh/borgbackup
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue