OGOPSEC // Dispatch
Linux Endpoint Security for Freelancers and Small Teams
Most writing about Linux endpoint security assumes an IT department, a budget for a management console, and a hundred identical laptops. Freelancers and small teams have none of that, and the enterprise playbook does not scale down cleanly. But the underlying risks are the same — a lost laptop, a contractor who still has access three months after the job ended, a client's data on a device that was never encrypted. This post translates endpoint security into something a small operation can actually run.
Define the endpoint before you defend it
An endpoint is any device that touches client or company data: your main laptop, the old desktop you log into occasionally, a VPS, a contractor's machine. The first security task is not technical — it is making a list. You cannot protect devices you have forgotten exist, and the forgotten ones are where incidents start.
The three risks that actually bite
1. Device loss or theft
For a mobile workforce of one or five, this is the most likely incident. The defense is unglamorous and decisive: full-disk encryption on every portable device. A stolen, encrypted laptop is a hardware loss and a data non-event. A stolen, unencrypted laptop is a client-notification letter. Make LUKS encryption a non-negotiable at setup for anyone touching shared data.
2. Credential compromise
Reused passwords and phishable logins are the second big risk. A hardware second factor neutralizes most of it, because a stolen password no longer opens anything on its own. For a small team, standardizing on hardware keys is cheaper and simpler than deploying any software MFA stack, and it covers both machine login and the services you log into.
3. Lingering access
When a contract ends, access should end with it. Small teams routinely forget this because there is no formal offboarding. Keep a short written list of what each person can reach — SSH keys on which servers, which shared accounts — so that revoking it is a five-minute task rather than an archaeology project.
A small-team baseline
- Every device encrypted. LUKS full-disk encryption, verified at setup, no exceptions for "just the spare."
- Hardware second factor for login and for the handful of services that hold client data.
- SSH by key only. Disable password authentication on any server:
- Per-person keys, never shared logins. Shared accounts make offboarding and audit impossible. Give each person their own key so you can revoke one without rotating everything.
- A revocation checklist kept somewhere you will find it when a contract ends.
- Automatic security updates on every endpoint.
Offboarding in practice
Because SSH keys are per-person, removing access is precise. To pull a departed contractor's key from a server, edit that user's ~/.ssh/authorized_keys and delete their line, or remove their account entirely:
Then rotate any shared secret they knew — API tokens, database passwords in config files. The per-person key model means you are revoking one thing; the shared-secret model means you are rotating everything, which is exactly why small teams should avoid shared secrets from day one.
What you can honestly skip
Small teams do not need a SIEM, a managed detection service, or antivirus on Linux desktops. Those are enterprise answers to enterprise scale and staffing. Spending a weekend on encryption, hardware factors, and a clean access list buys far more real security than any subscription product would at your size. Endpoint security scaled correctly is mostly discipline, not spend.
The honest limit of this baseline: it is built for device loss, credential theft, and clean offboarding — the incidents that actually hit small operations. It is not a defense against a targeted, well-resourced attacker who specifically wants your data; that is a different threat model and a different budget.
Standardizing the hard part
The piece small teams most often get wrong is the authentication layer, because wiring PAM and SSH and screen-lock consistently across several machines and people is fiddly. Standardizing on one hardware-anchored credential removes that drift. Dire Wolf is one such option — a USB credential that handles FIDO2 login and fail-closed PAM, with its keys bound to each machine's TPM, plus ecryptfs encryption of the user's home directory. As always, note the scope: that home-directory encryption complements, rather than replaces, the full-disk LUKS that belongs on every portable endpoint. Pick a standard, write down who can reach what, and a small team can run endpoint security that holds up without an IT department behind it.