Firewall rules wip, server show improved

This commit is contained in:
2025-03-31 17:18:56 +00:00
parent 65073632f1
commit d6a0fb3838
11 changed files with 196 additions and 9 deletions

View File

@@ -30,9 +30,7 @@ class RunStep implements ShouldQueue
$server = $this->step->deployment->target->server;
$ssh = Ssh::create('root', $server->ipv4)
->usePrivateKey(storage_path('app/private/ssh/id_ed25519'))
->disableStrictHostKeyChecking()
$ssh = $server->sshClient()
->onOutput(function ($output) {
$this->step->update([
'logs' => $this->step->logs . "\n" . trim($output),