From a392b0c9fb7279b6c232cdba84df4d3c76792f17 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 2 Sep 2010 20:48:37 -0300 Subject: Removing unneeded hostname and user from ssh_cmd_base --- files/handlers/rsync | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'files/handlers/rsync') diff --git a/files/handlers/rsync b/files/handlers/rsync index b4c16b7..2b9da5a 100644 --- a/files/handlers/rsync +++ b/files/handlers/rsync @@ -101,27 +101,6 @@ # 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 -- cgit v1.2.3