Skip to content
Snippets Groups Projects
Commit 6bc07684 authored by rhatto's avatar rhatto
Browse files

Removing unneeded hostname and user from ssh_cmd_base

parent c3f4247c
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment