diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-09-02 20:39:07 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-09-02 20:39:07 -0300 |
commit | 6bc07684e9083de97ef49ec381fbcc3aece93bdb (patch) | |
tree | 89d0d645f1a42f1c996c02386703430f8f3ba68a | |
parent | c3f4247c06a0e4bcdcd3c2ac36c0ab7ec3d41454 (diff) | |
download | backupninja-6bc07684e9083de97ef49ec381fbcc3aece93bdb.tar.gz backupninja-6bc07684e9083de97ef49ec381fbcc3aece93bdb.tar.bz2 |
Removing unneeded hostname and user from ssh_cmd_base
-rw-r--r-- | handlers/rsync.in | 2 |
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 |