Fix SSH command generation in remoteProcess.php
This commit is contained in:
parent
fe872a59ca
commit
cbd2580736
@ -140,7 +140,6 @@ function generateSshCommand(Server $server, string $command)
|
|||||||
if (config('coolify.mux_enabled') && config('coolify.is_windows_docker_desktop') == false) {
|
if (config('coolify.mux_enabled') && config('coolify.is_windows_docker_desktop') == false) {
|
||||||
$ssh_command .= "-o ControlMaster=auto -o ControlPersist={$muxPersistTime} -o ControlPath=/var/www/html/storage/app/ssh/mux/%h_%p_%r ";
|
$ssh_command .= "-o ControlMaster=auto -o ControlPersist={$muxPersistTime} -o ControlPath=/var/www/html/storage/app/ssh/mux/%h_%p_%r ";
|
||||||
}
|
}
|
||||||
ray($ssh_command);
|
|
||||||
if (data_get($server, 'settings.is_cloudflare_tunnel')) {
|
if (data_get($server, 'settings.is_cloudflare_tunnel')) {
|
||||||
$ssh_command .= '-o ProxyCommand="/usr/local/bin/cloudflared access ssh --hostname %h" ';
|
$ssh_command .= '-o ProxyCommand="/usr/local/bin/cloudflared access ssh --hostname %h" ';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user