Add ssh multiplexing
This commit is contained in:
@@ -20,7 +20,7 @@ if (!function_exists('remoteProcess')) {
|
||||
checkTeam($found_server->team_id);
|
||||
|
||||
$temp_file = 'id.rsa_'.'root'.'@'.$found_server->ip;
|
||||
Storage::disk('local')->put($temp_file, $found_server->privateKeys->first()->private_key, 'private');
|
||||
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, [
|
||||
|
||||
Reference in New Issue
Block a user