diff --git a/app/Models/Server.php b/app/Models/Server.php index 6eb9acf55..0834bf61b 100644 --- a/app/Models/Server.php +++ b/app/Models/Server.php @@ -912,12 +912,9 @@ $schema://$host { $isFunctional = $this->settings->is_reachable && $this->settings->is_usable && !$this->settings->force_disabled; if (!$isFunctional) { - if ($this->privateKey) { - PrivateKey::deleteFromStorage($this->privateKey); - } Storage::disk('ssh-mux')->delete($this->muxFilename()); } - + return $isFunctional; }