This commit is contained in:
Andras Bacsai
2023-05-15 21:48:36 +02:00
parent 6910f9c5c7
commit 114647810b
8 changed files with 12 additions and 15 deletions

View File

@@ -159,6 +159,7 @@ if (!function_exists('instantRemoteProcess')) {
{
$command_string = implode("\n", $command);
$private_key_location = savePrivateKeyForServer($server);
$ssh_command = generateSshCommand($private_key_location, $server->ip, $server->user, $server->port, $command_string);
$process = Process::run($ssh_command);
$output = trim($process->output());