rclone: Use ssh key from user's home directory by default

This commit is contained in:
Timo Makinen 2021-09-26 13:16:33 +00:00
parent 893a1c5417
commit 981ad490d4

View file

@ -5,6 +5,6 @@
type = sftp
host = {{ host }}
user = {{ remote_user }}
key_file = {{ private_key | default('/root/.ssh/id_ed25519') }}
key_file = {{ private_key | default('~/.ssh/id_ed25519') }}
known_hosts_file = /etc/ssh/ssh_known_hosts
{% endfor %}