We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60853de commit 6e07a50Copy full SHA for 6e07a50
rsync_time_machine.py
@@ -220,7 +220,8 @@ def parse_ssh(
220
ssh_user = ssh["user"] if ssh["user"] else ""
221
ssh_host = ssh["host"]
222
auth = f"{ssh_user}@{ssh_host}" if ssh_user else ssh_host
223
- ssh_cmd = f"ssh -p {ssh_port} {'-i ' + id_rsa if id_rsa else ''} {auth}"
+ id_rsa_opt = f"-i {id_rsa} " if id_rsa else ""
224
+ ssh_cmd = f"ssh -p {ssh_port} {'-i ' + id_rsa if id_rsa else ''}{auth}"
225
226
ssh_src_folder_prefix = f"{auth}:" if ssh_src else ""
227
ssh_dest_folder_prefix = f"{auth}:" if ssh_dest else ""
0 commit comments