Seven operations. One enforceable sequence.
- Discover. Observe the actual server, current key, UFW and SSH settings.
- Verify. Establish a new working key-only session rather than trusting a saved profile.
- Prepare. Preview exact intended changes, with unrelated services left intact.
- Prove recovery. Encrypt the selected backup, decrypt and authenticate with a restored key.
- Arm rollback. Establish an independent server-side five-minute recovery timer before access-restricting changes.
- Apply in order. Establish approved SSH firewall access before disabling fallback SSH authentication.
- Commit only on proof. Test a fresh key-only connection and server controls before canceling rollback.
Idempotence is not a buzzword.
When a key and vault are already verified, XSSG should reuse that evidence rather than manufacture another backup. When upgrading the program, key imports remain separate. When recovering one key, others remain untouched. The point is not to produce more output; it is to prevent unreviewed change.
Modular architecture, measurable evidence.
Putting sub-scripts below the program's scripts/ directory permits focused maintenance and tests. A security receipt distinguishes observed state from requested policy and from verified post-change behavior. Source-path checks over VPN and the public Internet must not be relabeled as verified merely because UFW rule listings look correct.
Security is separation, not bravado.
The OSSTMM approach values operational testing of interactions between assets and threats. We cannot destroy every threat, and destroying the protected asset defeats the purpose. So separate what can be separated, constrain what must interact, and measure what remains exposed. XSSG is inspired by this discipline; it is not represented as ISECOM-certified.
What is still unqualified?
Beta16 has documented successful guided deployments, but it is not independently security-certified. Intentional lockout/rollback tests, VPN and external-source access tests, adverse USB interruption tests, and broad distribution qualification remain outstanding.
Primary sources and sister projects
For a fair comparison of tools built for different roles, see Keyward, ssh-audit, DevSec, Ansible, Warpgate and Teleport in the SSH security landscape.
Go deeper: XSSG manual · questions and answers · security limitations · release preview · Clawsolator · XERXES SI.