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

index b4c16b7196c1067bd6cb430a5fa77356bcfea02e..2b9da5aac685f1b135877e9ec9b76c3271cbc492 100644 (file)
 # You dont need to manually specify vservers using "include = /vservers".
 # They are automatically backuped if vserver is set to "yes" on you backupninja.conf.
 #
-# Changelog
-# ---------
-# 
-# 20100825 - rhatto at riseup.net
-#
-#   - Fixed lockfile checks for rsync handler
-#   - Fixed ssh_cmd and RSYNC_RSH at rsync handler
-#
-# 20090329 - rhatto at riseup.net
-#
-#   - Added support for: 
-#     - Remote destinations
-#     - Long rotation format similar to maildir handler
-#     - Batch files through --read-batch and --write-batch
-#     - Custom file list using --files-from
-#     - SSH persistent connection using ControlMaster
-#     - The rsync:// protocol
-#   - Metadata folder for each backup folder
-#   - General refactoring
-#   - Code cleanup
-#
 
 # function definitions
 
@@ -284,7 +263,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