Fail2ban Report and Status: fail2ban-client Commands on Linux
Run a fail2ban report on Linux: fail2ban-client status, list jails, banned IPs, unban, and interpret logs after brute-force…
Read tutorial →Browse step-by-step tutorials in this topic.
Run a fail2ban report on Linux: fail2ban-client status, list jails, banned IPs, unban, and interpret logs after brute-force…
Read tutorial →
Use mktemp on Linux for safe temp files in scripts: mktemp, mktemp -d directory, mktemp --tmpdir, trap cleanup…
Read tutorial →
Create and check checksums on Linux: md5sum file, sha256sum backup verify, sha256sum -c CHECKSUM file, compare downloads, and…
Read tutorial →
Audit listening ports on Linux with a Bash script using ss or netstat: TCP/UDP, process names, compare to…
Read tutorial →
Audit SUID and SGID files on Linux with a Bash script: find / -perm, compare to baseline, alert…
Read tutorial →
Set up passwordless SSH with ssh-copy-id: generate ed25519 keys, copy pubkey to remote authorized_keys, test login, and harden…
Read tutorial →
Understand umask on Linux: how 022 and 027 change new file and directory modes, set umask in shell…
Read tutorial →
Configure firewalld on AlmaLinux/Rocky: install, zones, allow http/https/ssh, custom ports, --permanent rules, reload, and verify with firewall-cmd and…
Read tutorial →
Understand /etc/sudoers on Linux: use visudo, sudoers.d drop-ins, wheel group, limit commands with Cmnd_Alias, audit auth logs, and…
Read tutorial →
Set up nftables on Linux: tables, chains, default drop, allow SSH and web ports, persist ruleset to /etc/nftables.conf,…
Read tutorial →