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