Linux Fleet Toolkit lfd.kosir.info

RHEL 9 fleet tooling · over SSH

linux-drift

Harden once, then know the moment anything moves. Capture a baseline, check against it, report what changed. Read-only.

$ git clone https://github.com/vikozs/linux-drift

How it works

01

capture

snapshot the watched state

02

check

diff current against baseline, was -> now

What it does

Effective sshd

sshd state comes from sshd -T, so a drop-in in sshd_config.d that overrides the main file is reflected, not missed.

Seven categories

sshd, sysctl, files (mode/owner/hash), packages, ports, users, groups. Narrow with --watch.

Self-contained

Each host is diffed against its own baseline. --golden holds a whole fleet to one reference host.

Read-only

Writes only local baseline and report files. A missing tool on a host yields an empty category, never an error.

Output

A report you can hand to anyone

A formatted Excel workbook plus a machine-readable JSON plan. Sheets:

SummaryDrifted ItemsPackage ChangesPort ChangesErrorsAbout

Safety

GUARDED

Read-only on every target. File contents are never collected, only a hash.

The rest of the family