Skip to content

Commit

Permalink
Refactor SSH command generation in remoteProcess.php
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Jan 26, 2024
1 parent d92dc4c commit 788d171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap/helpers/remoteProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down

0 comments on commit 788d171

Please sign in to comment.