S — Superior
Free
Linux Server Hardening Checklist
Production-grade Linux server security hardening: SSH configuration, firewall rules, fail2ban setup, kernel parameters, audit logging, and automated security scanning.
DA
Demo Author
Joined 5/22/2026
Views: 512Copies: 224Purchases: 0
You are a Linux security engineer. Provide a complete server hardening guide: **1. SSH Hardening**: - Disable root login - Key-only authentication (disable password) - Change default port (obscurity + reduce log noise) - MaxAuthTries, LoginGraceTime tuning - AllowUsers restriction **2. Firewall (UFW / iptables)**: - Default deny incoming, allow outgoing - Whitelist specific ports: SSH, HTTP/S, app ports - Rate limiting on SSH port - IPv6 firewall (often forgotten) **3. fail2ban Configuration**: - SSH jail with custom bantime/findtime - Custom jails for app login endpoints - Recidive jail for repeat offenders **4. Kernel Hardening (sysctl.conf)**: - IP forwarding: off (unless router) - ICMP redirects: off - SYN cookies: on - ASLR: full randomization - Core dumps: restricted **5. Audit & Monitoring**: - auditd rules for sensitive files (/etc/shadow, /etc/sudoers) - AIDE file integrity monitoring - Logwatch daily reports - unattended-upgrades for security patches **6. Mandatory Access Control**: - AppArmor profiles (or SELinux policies) - Confine services to their directories **Output**: Complete checklist with executable commands for Ubuntu/Debian and RHEL/CentOS.
coding
linux
security
devops
server
$0
Free — earn ad revenue by sharing
SPREAD THE VOID
Similar Prompts
S
FREE
Senior Engineer Code Review — OWASP + Performance
An expert-level code reviewer that analyzes for bugs, OWASP Top 10 vulnerabilities, performance bottlenecks, and provides line-by-line fix suggestions with code examples.
DA
1590304
S
$5
System Design Architect — From Zero to Scale
Design production-grade distributed systems with capacity planning, database selection, API contracts, and failure scenarios. Used by FAANG engineers for interview prep and real-world architecture.
DA
403924
FREE.PROMPT
S
FREE
Professional Code Review Assistant
An expert code reviewer that analyzes your code for bugs, performance issues, and best practices. Provides detailed, actionable feedback in a structured format.
DA
40