]> gitweb.fluxo.info Git - backupninja.git/commitdiff
Removing unneeded hostname and user from ssh_cmd_base
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 2 Sep 2010 23:39:07 +0000 (20:39 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 2 Sep 2010 23:39:07 +0000 (20:39 -0300)
handlers/rsync.in

index 61a9838dc3d2d218bdb1690a6a2784818d36ed72..8fb1430bd806f2350ef4937319b73dfd29aef150 100644 (file)
@@ -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