mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +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:
parent
2d15aad5b7
commit
3fd99c8189
@ -4205,7 +4205,7 @@ SYSMON_Exec_Ssh($$)
|
|||||||
$p_tmp = ' -p '.$port.' ';
|
$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."'");
|
SYSMON_Log ($hash, 5, "Call: '".$call."'");
|
||||||
$call = $t_sshpass.$call;
|
$call = $t_sshpass.$call;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user