From a282d381707325b338b14570d8f24d05908a64b3 Mon Sep 17 00:00:00 2001 From: baodev0 Date: Mon, 13 Jul 2026 16:37:01 +0700 Subject: [PATCH] Increase SSH command execution timeout to accommodate longer-running PowerShell scripts --- app/Services/VsphereHostSshService.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Services/VsphereHostSshService.php b/app/Services/VsphereHostSshService.php index 2299cc7..a6550ab 100644 --- a/app/Services/VsphereHostSshService.php +++ b/app/Services/VsphereHostSshService.php @@ -210,6 +210,8 @@ final class VsphereHostSshService ); } + $client->setTimeout(0); // PS1 scripts can run 30–90 s; block until done + $stdout = $client->exec($remoteCmd); $stderr = $client->getStdError();