2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-24 15:19:21 +00:00

Fix: SSH execution

git-svn-id: https://svn.fhem.de/fhem/trunk@17150 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
hexenmeister 2018-08-16 18:50:11 +00:00
parent 2d15aad5b7
commit 3fd99c8189

View File

@ -4205,7 +4205,7 @@ SYSMON_Exec_Ssh($$)
$p_tmp = ' -p '.$port.' ';
}
my $call = "ssh ".$p_tmp.$user."\@".$host." ".$cmd;
my $call = "ssh ".$p_tmp.$user."\@".$host." ".'"'.$cmd.'"';
SYSMON_Log ($hash, 5, "Call: '".$call."'");
$call = $t_sshpass.$call;