Cehpoint

Free preview lesson · 20 min

Connect a Linux server

From the course Hands-on: your first week with the Agentic SOC.

Connect a Linux server

A Linux server is connected with one command. The command carries a one-time install code that works for 30 minutes and for one device.

Connect a device tab with markers: 1 Run one command, 2 Linux server, 3 Get the command, 4 the install command with the code masked, 5 Waiting for the device to report
Connect a device: 1 Run one command, 2 Linux server, 3 Get the command, 4 the command, 5 waiting for the first report

Steps

  1. Open Connect a device and choose Run one command (marker 1).
  2. Choose Linux server (marker 2).
  3. Press Get the command (marker 3). The console shows the command and the line "Code CEH-…, valid until … UK time".
  4. Copy the command (marker 4) and run it as root on the server:
bash
curl -fsSL https://soc.cehpoint.co.uk/install | sudo bash -s -- --code CEH-XXXX-XXXX

A second command adds the optional nightly malware scan (ClamAV) with --antivirus. 5. Wait (marker 5). The console says "Waiting for the device to report…" and then shows the server's name as connected, usually within a minute.

What the agent does

  • It reports to soc.cehpoint.co.uk over HTTPS every minute and opens no port on the server.
  • It reads health, SSH sign-ins and password guessing, open ports, running apps and containers, scheduled tasks and SSH keys, programs running from temporary folders, waiting security updates, certificates and attacks in your web server logs (nginx, Apache, Caddy).
  • It can carry out only a fixed list of actions built into it. Nothing, including Cehpoint staff, can send it an arbitrary command.
  • Command lines that contain passwords or tokens are masked on the device before anything is sent.

Supported: Linux with systemd and python3 3.7 or newer (tested on Ubuntu 24.04, 22.04 and 20.04, Debian 12 and 11; Rocky Linux 9, AlmaLinux 9 and Amazon Linux 2023 work with some limits).

Hands-on lab

Your own account and a Linux test server you control (or follow the screenshots).

  1. Open Connect a device, choose Run one command and Linux server.
  2. Press Get the command and copy it.
  3. Run it as root on the server.
  4. Watch the console change from waiting to connected, then open Devices and find the server.