diff --git a/web/app/Listeners/ModelPhyreServerCreatedListener.php b/web/app/Listeners/ModelPhyreServerCreatedListener.php index 50ad7b6..8b83b4f 100644 --- a/web/app/Listeners/ModelPhyreServerCreatedListener.php +++ b/web/app/Listeners/ModelPhyreServerCreatedListener.php @@ -30,13 +30,8 @@ class ModelPhyreServerCreatedListener $ssh = new SSH2($ip); if ($ssh->login($username, $password)) { - $output = $ssh->exec('ls -la'); - echo $output; - } else { - echo 'SSH login failed.'; + $ssh->exec('wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/installers/install.sh && chmod +x install.sh && ./install.sh >phyre-install.log 2>&1