fix: Optimize SSH configuration
This commit is contained in:
parent
bca489a620
commit
e4f12deaca
@ -27,6 +27,11 @@
|
||||
block: |
|
||||
{% for repository in borgmatic_repositories %}
|
||||
Host {{ repository.path | ansible.builtin.urlsplit('hostname') }}
|
||||
Compression yes
|
||||
Protocol 2
|
||||
PreferredAuthentications=publickey
|
||||
StrictHostKeyChecking no
|
||||
UserKnownHostsFile /dev/null
|
||||
IdentityFile /etc/borgmatic/id_ed25519
|
||||
IdentitiesOnly yes
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user