Removing unneeded hostname and user from ssh_cmd_base

This commit is contained in:
Silvio Rhatto 2010-09-02 20:39:07 -03:00
parent c3f4247c06
commit 6bc07684e9

View 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