mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
Refactor SSH command generation in remoteProcess.php
This commit is contained in:
1 parent
d92dc4c5e6
commit
788d1711db
1 file changed
+1
-1
@@ -120,7 +120,7 @@ function generateSshCommand(Server $server, string $command)
|
||||
$delimiter = 'EOF-COOLIFY-SSH';
|
||||
$ssh_command = "timeout $timeout ssh ";
|
||||
|
||||
if (config('coolify.mux_enabled') === true && 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=1m -o ControlPath=/var/www/html/storage/app/ssh/mux/%h_%p_%r ';
|
||||
}
|
||||
if (data_get($server, 'settings.is_cloudflare_tunnel')) {
|
||||
|
||||
Reference in new issue
Block a user