chore: Remove unnecessary command from SshMultiplexingHelper

This commit is contained in:
Andras Bacsai
2024-10-02 14:54:48 +02:00
parent 6f25b548c7
commit 0ab432d5e6

View File

@@ -138,7 +138,6 @@ class SshMultiplexingHelper
$ssh_command .= self::getCommonSshOptions($server, $sshKeyLocation, config('constants.ssh.connection_timeout'), config('constants.ssh.server_interval'));
$command = "PATH=\$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/host/usr/local/sbin:/host/usr/local/bin:/host/usr/sbin:/host/usr/bin:/host/sbin:/host/bin && $command";
$delimiter = Hash::make($command);
$command = str_replace($delimiter, '', $command);