Update ModelPhyreServerCreatedListener.php
This commit is contained in:
parent
da6c1873ad
commit
a5b1be66e4
1 changed files with 1 additions and 6 deletions
|
@ -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 </dev/null &');
|
||||
}
|
||||
|
||||
dd(3);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue