linux-security-hardener
CommunityAutomated Linux server hardening plan.
Authorchfle
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Linux servers often remain misconfigured and exposed, requiring manual hardening steps that are error-prone and time-consuming. This Skill generates a complete, prioritized hardening plan with ready-to-apply configs and scripts to reduce attack surface and meet benchmarks.
Core Features & Use Cases
- System updates and unattended upgrades
- SSH hardening, firewall, and fail2ban configuration
- Kernel sysctl hardening, safe defaults, and auditd rules
- A master hardening script (harden.sh) and drop-in configs to apply changes
- Use cases include onboarding a fresh VPS, hardening an existing server, or preparing a Docker host or web server for production.
Quick Start
Run the master hardening script as root to apply the complete Linux server hardening plan.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: linux-security-hardener Download link: https://github.com/chfle/lehnert-claude-skills/archive/main.zip#linux-security-hardener Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.