Apply CIS benchmarks and secure Linux servers. Configure SSH, manage users, implement firewall rules, and enable security features. Use when hardening Linux systems for production or meeting security compliance requirements.
Start a fresh conversation. Replace the highlighted placeholders.
Use linux-hardening to assess [Linux server] against a [CIS or compliance] baseline and provide a least-privilege hardening plan; do not apply configuration changes without my explicit approval.
Required inputs
[Linux server]
[CIS or compliance]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: linux-hardeningdescription: Apply CIS benchmarks and secure Linux servers. Configure SSH, manage users, implement firewall rules, and enable security features. Use when hardening Linux systems for production or meeting security compliance requirements.license: MITmetadata: author: devops-skills version: "1.0"
Linux Hardening
Secure Linux servers following CIS benchmarks and security best practices.
When to Use This Skill
Use this skill when:
Hardening production servers
Meeting compliance requirements
Implementing security baselines
Configuring secure SSH access
SSH Hardening
# /etc/ssh/sshd_config
PermitRootLogin no
PasswordAuthentication no
PubkeyAuthentication yes
MaxAuthTries 3
ClientAliveInterval 300
ClientAliveCountMax 2
AllowUsers deploy admin
Protocol 2