update fix deadcode, security
This commit is contained in:
@@ -64,19 +64,6 @@ trait ManagesSsh
|
||||
}
|
||||
}
|
||||
|
||||
public function loginSSH(): bool
|
||||
{
|
||||
$conn = $this->LoginAuth();
|
||||
|
||||
if ($conn) {
|
||||
Log::info('✅ Connected to vCenter via SSH successfully');
|
||||
return true;
|
||||
}
|
||||
|
||||
Log::error('❌ Failed to connect to vCenter via SSH');
|
||||
return false;
|
||||
}
|
||||
|
||||
// ─── Command variants ────────────────────────────────────────────────────
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user