aboutsummaryrefslogtreecommitdiff
path: root/handlers/rsync.in
diff options
context:
space:
mode:
Diffstat (limited to 'handlers/rsync.in')
-rw-r--r--handlers/rsync.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/rsync.in b/handlers/rsync.in
index 61a9838..8fb1430 100644
--- a/handlers/rsync.in
+++ b/handlers/rsync.in
@@ -284,7 +284,7 @@ function eval_config {
nice=""
fi
- ssh_cmd_base="ssh -T -o PasswordAuthentication=no -o Hostname=$host -p $port -l $user -i $id_file"
+ ssh_cmd_base="ssh -T -o PasswordAuthentication=no -p $port -i $id_file"
ssh_cmd="$ssh_cmd_base $user@$host"
if [ "$from" == "remote" ] || [ "$dest" == "remote" ]; then