This commit is contained in:
Andras Bacsai
2023-03-28 20:59:42 +02:00
parent 4df66ebf00
commit 593f1acf10
5 changed files with 47 additions and 17 deletions

View File

@@ -22,7 +22,6 @@ if (!function_exists('remoteProcess')) {
$temp_file = 'id.rsa_' . 'root' . '@' . $found_server->ip;
Storage::disk('local')->put($temp_file, $found_server->privateKey->private_key, 'private');
$private_key_location = '/var/www/html/storage/app/' . $temp_file;
return resolve(DispatchRemoteProcess::class, [
'remoteProcessArgs' => new RemoteProcessArgs(
destination: $found_server->ip,