Topic

Security

Security guides from Tryssh: practical diagnostics, safe operating procedures, and production runbooks for server operators.

Audit every authorized_keys file on a Linux server

Map every fingerprint to an owner and purpose; an unattributed key is an access-control failure even if it is technically valid.

The Tryssh team · July 21, 2026 →

Bastion host security: smaller, stricter, and observable

Minimize software, prohibit stored private keys, centralize logs, enforce short-lived access, and test the recovery path.

The Tryssh team · July 21, 2026 →

The Docker socket is root access wearing an API

Treat docker-group membership and socket mounts as root-equivalent privileges; use narrow proxies only when the API is unavoidable.

The Tryssh team · July 21, 2026 →

Fail2ban for SSH: useful guardrail, not your primary lock

Disable password authentication when possible; use fail2ban to reduce noise and abuse, not to make weak credentials safe.

The Tryssh team · July 21, 2026 →

Credential rotation after a server incident: the order matters

Contain first, inventory credentials, rotate from a clean device, invalidate old material, then rebuild and verify downstream systems.

The Tryssh team · July 21, 2026 →

Linux patching without surprise reboots or broken services

Patch in stages, know which services need restart, preserve console access, and validate the application—not only package-manager success.

The Tryssh team · July 21, 2026 →

Suspect a Linux rootkit? Preserve evidence before installing scanners

Preserve evidence before installing scanners needs a third approach—read the effective state, understand the recovery path, then tighten one boundary at a time.

The Tryssh team · July 21, 2026 →

Nftables basics for an SSH host

Validate rules offline and preserve the established SSH connection while testing a new session.

The Tryssh team · July 21, 2026 →

Stop leaving secrets in shell history and deployment folders

Move secrets to a controlled store, restrict process exposure, rotate anything discovered, and prevent recurrence in CI.

The Tryssh team · July 21, 2026 →

SSH agent forwarding can turn a server into your identity

The immediate concern is remote hosts borrowing local authentication.

The Tryssh team · July 21, 2026 →

SSH certificates: when authorized_keys stops scaling

Short-lived certificates centralize trust, but the CA key and issuance path become high-value systems requiring strong controls.

The Tryssh team · July 21, 2026 →

SSH hardening checklist for a public Linux server

The immediate concern is password guessing, root login, stale keys, and unsafe forwarding.

The Tryssh team · July 21, 2026 →

REMOTE HOST IDENTIFICATION HAS CHANGED: attack or rebuild?

Verify through an independent channel before removing known_hosts entries; never normalize blindly accepting changed keys.

The Tryssh team · July 21, 2026 →

Audit NOPASSWD sudo before it becomes instant root

Scope automation to exact commands and arguments where possible; never edit sudoers without syntax validation.

The Tryssh team · July 21, 2026 →

UFW for SSH servers without locking yourself out

Add and verify the SSH rule before enabling the firewall, and keep provider console access available.

The Tryssh team · July 21, 2026 →

Who can SSH into your server right now? You probably don't know.

Audit SSH access across every user, remove stale keys and unsafe NOPASSWD sudo rules, then harden sshd without locking yourself out.

The Tryssh team · July 19, 2026 →