diff --git a/templates/config.yaml.j2 b/templates/config.yaml.j2
index d0a43cee5578bae948c2c69471533ed245de5c86..2b29c38cedba59d23c296cb1b4cf4c1ce1298ce5 100644
--- a/templates/config.yaml.j2
+++ b/templates/config.yaml.j2
@@ -11,7 +11,7 @@ location:
 
   # Paths to local or remote repositories.
   repositories:
-  - "{{ borgbackup_target_user }}@{{ borgbackup_target_ip }}:{{ borgbackup_repo_path }}"
+  - "ssh://{{ borgbackup_target_user }}@{{ borgbackup_target_ip }}:{{ borgbackup_repo_path }}"
 
   exclude_patterns:
   {% for item in borgbackup_exclude_dirs %}