mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-08 20:02:32 +01:00
Removing unneeded hostname and user from ssh_cmd_base
This commit is contained in:
parent
c3f4247c06
commit
6bc07684e9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user