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

No files matched your search

+1
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());