Increase SSH command execution timeout to accommodate longer-running PowerShell scripts
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user