--- title: "Managed SSH Servers" description: "Centralized Linux server fleet management in Ring2All NMS featuring encrypted SSH credential storage, interactive web terminal, and attack analysis." --- ## 📖 Introduction The **Managed SSH Servers** module in Ring2All NMS empowers infrastructure teams to manage their entire fleet of Debian/Ubuntu/RHEL servers from a single pane of glass. Beyond simple inventory, Ring2All NMS stores encrypted SSH credentials, provides an in-browser interactive terminal console, collects host hardware telemetry (CPU, RAM, disk partitions), and runs autonomous attack and brute-force intrusion analysis. ![NMS Managed SSH Servers](/screenshots/nms/servers.png) --- ## 🎯 User Roles & Key Capabilities | Role | Primary Use Case | Key Capabilities | | :--- | :--- | :--- | | **DevOps & Sysadmins** | Day-to-day server administration and troubleshooting. | Launch interactive SSH sessions in the browser, execute emergency maintenance commands, and monitor hardware load. | | **SecOps & Security Officers** | Fleet vulnerability and intrusion auditing. | Review failed SSH login attempts, inspect sudo execution history, and identify abnormal process spawns. | | **Database & Cluster Admins** | Multi-node cluster coordination. | Synchronize configurations across PBX, SBC, and BSS nodes, inspect disk usage partitions, and verify kernel versions. | --- ## 🖥️ Fleet Administration & Terminal Architecture ```mermaid graph LR User[NMS Administrator] --> Web[NMS Web Console] Web --> WSS[Secure WebSocket Tunnel] WSS --> Daemon[NMS SSH Daemon Client] Daemon --> Target[Remote Linux Server: PBX / SBC / BSS] Target --> T1[xterm.js Interactive Shell: bash / zsh] Target --> T2[Hardware Metrics: CPU, RAM, Disk, LoadAvg] Target --> T3[Security Log Inspection: /var/log/auth.log] ``` ### 1. In-Browser Interactive Terminal (`xterm.js`) Clicking **Terminal** on any managed server opens a responsive, secure terminal window. Supporting full ANSI color codes, vi/nano editing, copy-paste buffers, and terminal resizing, engineers can troubleshoot hosts from any modern workstation without configuring local SSH clients or distributing private keys. ### 2. Attack & Intrusion Analyzer Ring2All NMS parses authentication journals (`auth.log`, `secure`) in real-time to detect: * Repeated SSH brute-force attempts from suspicious IP addresses. * Unauthorized `sudo` attempts. * Root login anomalies. * Automatic IP ban escalation to the **Perimeter Firewall Suite**. ### 3. Hardware & Partition Telemetry Real-time gauges display CPU core utilization, memory consumption (used vs. cached), load averages (1m, 5m, 15m), and disk partition capacity (flagging partitions exceeding 85% utilization). ### 4. Cluster-Managed Node Separation & Safe Reference Deletion * **Cluster Nodes Toolbar Filter**: Hosts provisioned through the **[Horizontal Infrastructure Orchestrator](horizontal-infrastructure-orchestrator.md)** are automatically tagged and hidden from the default `/servers` view so standalone servers stay uncluttered. Toggle **`Cluster Nodes (N)`** in the top toolbar at any time to view or open a terminal to cluster hosts; cluster-managed hosts remain protected (`HTTP 409`) from accidental deletion outside the orchestrator's safe decommission workflow. * **Safe Reference Detachment (`Detach & Delete`)**: Deleting a server referenced by Topology Flows or AI Watchdogs triggers a protective conflict dialog listing every referencing entity and offering an explicit **Detach & Delete** option to cleanly sever links before removal. --- ## 🧩 12 White-Label SSH Server Blueprints Fresh installations start with an empty host inventory. Click **Templates** in the `/servers` toolbar (or visit **Settings > Templates**) to open the compact, expandable **SSH Server Blueprint Templates** modal and pre-fill hosts in one click: ![SSH Server Blueprint Templates Modal](/screenshots/nms/template-picker-modal.png) Each card provides a collapsible **Details** drawer showing pre-tuned systemd daemons, SNMPv3 metrics, and conservative CPU/RAM/Disk thresholds (`auto_restart_daemons` stays safely **disabled** by default so blind restarts never interrupt live SIP media or database transactions): | Category | Included Blueprints | | :--- | :--- | | **VoIP & Telecom Nodes** | `Cloud PBX Node (FreeSWITCH)`, `SIP Perimeter SBC (Kamailio + RTPEngine)`, `OCS & Telecom Billing Node`, `Contact Center CCaaS Node (ACD / Dialer)`, `WebRTC Video SFU Node (LiveKit)`, `ZTP Provisioning & NMS Control Plane` | | **Databases & Brokers** | `PostgreSQL 17 HA Cluster Node`, `Redis & Queue Broker Node` | | **Edge & Reverse Proxies** | `Nginx / HAProxy Edge Load Balancer` | | **Containers & Hypervisors** | `Docker / Kubernetes Worker Node`, `Proxmox VE / KVM Hypervisor` | | **Backups & Storage** | `Offsite Backup & Archive Vault` *(plus `Custom Linux / UNIX Server`)* | --- ## ⚙️ Server Configuration Reference | Field | Type | Description | Default | | :--- | :--- | :--- | :--- | | **Server Name** | Text | Host label (e.g., `PBX-Node-01`, `SBC-Perimeter-02`). | *Required* | | **Host / IP Address** | Text | IPv4/IPv6 address or resolvable FQDN. | *Required* | | **SSH Port** | Number | Port on which `sshd` listens. | `22` | | **Authentication Type** | Select | `SSH Key (Private Key)` or `Password`. | `SSH Key` | | **SSH Username** | Text | Administrative user account (e.g., `root`, `debian`, `softswitch`). | `root` | | **Private Key / Password** | Secure Textarea | Encrypted credential stored securely in PostgreSQL via AES-256-GCM. | *Required* | | **Server Tags / Environment** | Tags | Classification labels (`Production`, `Staging`, `Telephony`, `Database`). | Optional |