| Skip to content | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstreamcoding%2FHow-To-Secure-A-Linux-Server |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstreamcoding%2FHow-To-Secure-A-Linux-Server |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=streamcoding%2FHow-To-Secure-A-Linux-Server |
| Reload | https://github.com/streamcoding/How-To-Secure-A-Linux-Server |
| Reload | https://github.com/streamcoding/How-To-Secure-A-Linux-Server |
| Reload | https://github.com/streamcoding/How-To-Secure-A-Linux-Server |
| streamcoding | https://github.com/streamcoding |
| How-To-Secure-A-Linux-Server | https://github.com/streamcoding/How-To-Secure-A-Linux-Server |
| Code | https://github.com/streamcoding/How-To-Secure-A-Linux-Server |
| Pull requests | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/pulls |
| Actions | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/actions |
| Projects | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/projects |
| Security and quality | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/security |
| Insights | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/insights |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server |
| How-To-Secure-A-Linux-Server | https://github.com/streamcoding/How-To-Secure-A-Linux-Server |
| imthenachoman/How-To-Secure-A-Linux-Server | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server |
| Notifications | https://github.com/login?return_to=%2Fstreamcoding%2FHow-To-Secure-A-Linux-Server |
| Fork0 (0) | https://github.com/login?return_to=%2Fstreamcoding%2FHow-To-Secure-A-Linux-Server |
| Star0 (0) | https://github.com/login?return_to=%2Fstreamcoding%2FHow-To-Secure-A-Linux-Server |
| Readme | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#readme-ov-file |
| CC-BY-SA-4.0 license | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#CC-BY-SA-4.0-1-ov-file |
| Activity | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/activity |
| Custom properties | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/custom-properties |
| 0 forks | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fstreamcoding%2FHow-To-Secure-A-Linux-Server&report=streamcoding+%28user%29 |
| Branches | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/branches |
| Tags | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/tags |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server/branches |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server/tags |
| 182 Commits | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/commits/master/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server/commits/master/ |
| LICENSE.txt | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/blob/master/LICENSE.txt |
| LICENSE.txt | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/blob/master/LICENSE.txt |
| README.md | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/blob/master/README.md |
| README.md | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/blob/master/README.md |
| linux-kernel-sysctl-hardening.md | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/blob/master/linux-kernel-sysctl-hardening.md |
| linux-kernel-sysctl-hardening.md | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/blob/master/linux-kernel-sysctl-hardening.md |
| README | https://github.com/streamcoding/How-To-Secure-A-Linux-Server |
| CC-BY-SA-4.0 license | https://github.com/streamcoding/How-To-Secure-A-Linux-Server |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-to-secure-a-linux-server |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#license |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| Introduction | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#introduction |
| Guide Objective | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#guide-objective |
| Why Secure Your Server | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-secure-your-server |
| Why Yet Another Guide | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-yet-another-guide |
| Other Guides | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#other-guides |
| To Do / To Add | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#to-do--to-add |
| Guide Overview | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#guide-overview |
| About This Guide | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#about-this-guide |
| My Use-Case | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#my-use-case |
| Editing Configuration Files - For The Lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| Contributing | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#contributing |
| Before You Start | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#before-you-start |
| Identify Your Principles | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#identify-your-principles |
| Picking A Linux Distribution | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#picking-a-linux-distribution |
| Installing Linux | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#installing-linux |
| Pre/Post Installation Requirements | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#prepost-installation-requirements |
| Other Important Notes | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#other-important-notes |
| The SSH Server | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#the-ssh-server |
| Important Not Before You Make SSH Changes | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#important-not-before-you-make-ssh-changes |
| SSH Public/Private Keys | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#ssh-publicprivate-keys |
| Create SSH Group For AllowGroups | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#create-ssh-group-for-allowgroups |
| Secure /etc/ssh/sshd_config | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#secure-etcsshsshd_config |
| Remove Short Diffie-Hellman Keys | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#remove-short-diffie-hellman-keys |
| 2FA/MFA for SSH | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#2famfa-for-ssh |
| The Basics | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#the-basics |
| Limit Who Can Use sudo | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#limit-who-can-use-sudo |
| Limit Who Can Use su | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#limit-who-can-use-su |
| NTP Client | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#ntp-client |
| Securing /proc | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#securing-proc |
| Force Accounts To Use Secure Passwords | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#force-accounts-to-use-secure-passwords |
| Automatic Security Updates and Alerts | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#automatic-security-updates-and-alerts |
| More Secure Random Entropy Pool (WIP) | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#more-secure-random-entropy-pool-wip |
| The Network | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#the-network |
| Firewall With UFW (Uncomplicated Firewall) | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#firewall-with-ufw-uncomplicated-firewall |
| iptables Intrusion Detection And Prevention with PSAD | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#iptables-intrusion-detection-and-prevention-with-psad |
| Application Intrusion Detection And Prevention With Fail2Ban | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#application-intrusion-detection-and-prevention-with-fail2ban |
| The Auditing | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#the-auditing |
| File/Folder Integrity Monitoring With AIDE (WIP) | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#filefolder-integrity-monitoring-with-aide-wip |
| Anti-Virus Scanning With ClamAV (WIP) | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#anti-virus-scanning-with-clamav-wip |
| Rootkit Detection With Rkhunter (WIP) | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#rootkit-detection-with-rkhunter-wip |
| Rootkit Detection With chrootkit (WIP) | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#rootkit-detection-with-chrootkit-wip |
| logwatch - system log analyzer and reporter | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#logwatch---system-log-analyzer-and-reporter |
| ss - Seeing Ports Your Server Is Listening On | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#ss---seeing-ports-your-server-is-listening-on |
| Lynis - Linux Security Auditing | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#lynis---linux-security-auditing |
| The Danger Zone | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#the-danger-zone |
| The Miscellaneous | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#the-miscellaneous |
| Gmail and Exim4 As MTA With Implicit TLS | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#gmail-and-exim4-as-mta-with-implicit-tls |
| Separate iptables Log File | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#separate-iptables-log-file |
| Left Over | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#left-over |
| Contacting Me | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#contacting-me |
| Helpful Links | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#helpful-links |
| Acknowledgments | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#acknowledgments |
| License and Copyright | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#license-and-copyright |
| nGitHubTOC | https://imthenachoman.github.io/nGitHubTOC/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#introduction |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#guide-objective |
| contribute | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#contributing |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-secure-your-server |
| lock you out of your data for money | https://en.wikipedia.org/wiki/Ransomware |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-yet-another-guide |
| how to secure Linux | https://duckduckgo.com/?q=how+to+secure+linux&t=ffab&atb=v151-7&ia=web |
| Ansible | https://www.ansible.com/ |
| Chef | https://www.chef.io/ |
| Jenkins | https://jenkins.io/ |
| Puppet | https://puppet.com/ |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#other-guides |
| Center for Internet Security (CIS) | https://www.cisecurity.org/ |
| benchmarks | https://www.cisecurity.org/cis-benchmarks/ |
| About Us | https://www.cisecurity.org/about-us/ |
| https://security.utexas.edu/os-hardening-checklist/linux-7 | https://security.utexas.edu/os-hardening-checklist/linux-7 |
| https://cloudpro.zone/index.php/2018/01/18/debian-9-3-server-setup-guide-part-1/ | https://cloudpro.zone/index.php/2018/01/18/debian-9-3-server-setup-guide-part-1/ |
| https://blog.vigilcode.com/2011/04/ubuntu-server-initial-security-quick-secure-setup-part-i/ | https://blog.vigilcode.com/2011/04/ubuntu-server-initial-security-quick-secure-setup-part-i/ |
| https://www.tldp.org/LDP/sag/html/index.html | https://www.tldp.org/LDP/sag/html/index.html |
| https://seifried.org/lasg/ | https://seifried.org/lasg/ |
| https://news.ycombinator.com/item?id=19178964 | https://news.ycombinator.com/item?id=19178964 |
| https://wiki.archlinux.org/index.php/Security | https://wiki.archlinux.org/index.php/Security |
| https://securecompliance.co/linux-server-hardening-checklist/ | https://securecompliance.co/linux-server-hardening-checklist/ |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#to-do--to-add |
| Custom Jails for Fail2ban | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#custom-jails |
| https://wiki.archlinux.org/index.php/security#Mandatory_access_control | https://wiki.archlinux.org/index.php/security#Mandatory_access_control |
| https://en.wikipedia.org/wiki/Security-Enhanced_Linux | https://en.wikipedia.org/wiki/Security-Enhanced_Linux |
| https://linuxtechlab.com/beginners-guide-to-selinux/ | https://linuxtechlab.com/beginners-guide-to-selinux/ |
| https://linuxtechlab.com/replicate-selinux-policies-among-linux-machines/ | https://linuxtechlab.com/replicate-selinux-policies-among-linux-machines/ |
| https://teamignition.us/how-to-stop-being-a-scrub-and-learn-to-use-selinux.html | https://teamignition.us/how-to-stop-being-a-scrub-and-learn-to-use-selinux.html |
| https://wiki.archlinux.org/index.php/AppArmor | https://wiki.archlinux.org/index.php/AppArmor |
| https://security.stackexchange.com/questions/29378/comparison-between-apparmor-and-selinux | https://security.stackexchange.com/questions/29378/comparison-between-apparmor-and-selinux |
| http://www.insanitybit.com/2012/06/01/why-i-like-apparmor-more-than-selinux-5/ | http://www.insanitybit.com/2012/06/01/why-i-like-apparmor-more-than-selinux-5/ |
| http://www.chkrootkit.org/ | http://www.chkrootkit.org/ |
| http://rkhunter.sourceforge.net/ | http://rkhunter.sourceforge.net/ |
| https://www.cyberciti.biz/faq/howto-check-linux-rootkist-with-detectors-software/ | https://www.cyberciti.biz/faq/howto-check-linux-rootkist-with-detectors-software/ |
| https://www.tecmint.com/install-rootkit-hunter-scan-for-rootkits-backdoors-in-linux/ | https://www.tecmint.com/install-rootkit-hunter-scan-for-rootkits-backdoors-in-linux/ |
| https://news.ycombinator.com/item?id=19178681 | https://news.ycombinator.com/item?id=19178681 |
| https://learn.cisecurity.org/cis-cat-landing-page | https://learn.cisecurity.org/cis-cat-landing-page |
| https://blog.sleeplessbeastie.eu/2015/03/02/how-to-verify-installed-packages/ | https://blog.sleeplessbeastie.eu/2015/03/02/how-to-verify-installed-packages/ |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#guide-overview |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#about-this-guide |
| install Linux | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#installing-linux |
| https://linuxjourney.com/ | https://linuxjourney.com/ |
| Linux distribution agnostic | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#picking-a-linux-distribution |
| text editor | https://notepad-plus-plus.org/ |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#my-use-case |
| NAT | https://en.wikipedia.org/wiki/Network_address_translation |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| INI | https://en.wikipedia.org/wiki/INI_file |
| favorite | https://en.wikipedia.org/wiki/Vi |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#contributing |
| GitHub | http://www.github.com |
| new issue | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/new |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#before-you-start |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#identify-your-principles |
| threat model | https://en.wikipedia.org/wiki/Threat_model |
| disabled root login | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#disable-root-login |
| password protected GRUB | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#password-protect-grub |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#picking-a-linux-distribution |
| any distribution | https://distrowatch.com/ |
| unattended upgrade | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#automatic-security-updates-and-alerts |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#installing-linux |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#prepost-installation-requirements |
| Gmail and Exim4 As MTA With Implicit TLS | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#gmail-and-exim4-as-mta-with-implicit-tls |
| CIS Benchmarks | https://www.cisecurity.org/cis-benchmarks/ |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#other-important-notes |
| contact me | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#contacting-me |
| Debian based distributions | https://www.debian.org/derivatives/ |
| provide | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#contributing |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#the-ssh-server |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#important-not-before-you-make-ssh-changes |
| Sonnenbrand | https://github.com/Sonnenbrand |
| idea | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/56 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#ssh-publicprivate-keys |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works |
| ssh-copy-id | https://www.ssh.com/ssh/copy-id |
| Digital Ocean | https://www.digitalocean.com/community/tutorials/understanding-the-ssh-encryption-and-connection-process |
| PasswordAuthentication no in /etc/ssh/sshd_config | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#PasswordAuthentication |
| https://linux-audit.com/ | https://linux-audit.com/using-ed25519-openssh-keys-instead-of-dsa-rsa-ecdsa/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references |
| https://www.ssh.com/ssh/public-key-authentication | https://www.ssh.com/ssh/public-key-authentication |
| https://help.ubuntu.com/community/SSH/OpenSSH/Keys | https://help.ubuntu.com/community/SSH/OpenSSH/Keys |
| https://linux-audit.com/using-ed25519-openssh-keys-instead-of-dsa-rsa-ecdsa/ | https://linux-audit.com/using-ed25519-openssh-keys-instead-of-dsa-rsa-ecdsa/ |
| https://www.digitalocean.com/community/tutorials/understanding-the-ssh-encryption-and-connection-process | https://www.digitalocean.com/community/tutorials/understanding-the-ssh-encryption-and-connection-process |
| https://wiki.archlinux.org/index.php/SSH_Keys | https://wiki.archlinux.org/index.php/SSH_Keys |
| https://www.ssh.com/ssh/copy-id | https://www.ssh.com/ssh/copy-id |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps |
| Ed25519 | https://linux-audit.com/using-ed25519-openssh-keys-instead-of-dsa-rsa-ecdsa/ |
| MIM | https://en.wikipedia.org/wiki/Man-in-the-middle_attack |
| perform any tasks specific to your setup | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#prepost-installation-requirements |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#create-ssh-group-for-allowgroups |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-1 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-1 |
| AllowGroups option | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#AllowGroups |
| /etc/ssh/sshd_config | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#secure-etcsshsshd_config |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-1 |
| Secure /etc/ssh/sshd_config | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#secure-etcsshsshd_config |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes-1 |
| Secure /etc/ssh/sshd_config | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#secure-etcsshsshd_config |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-1 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-1 |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#secure-etcsshsshd_config |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-2 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-2 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-2 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes-2 |
| Create SSH Group For AllowGroups | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#create-ssh-group-for-allowgroups |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-2 |
| https://infosec.mozilla.org/guidelines/openssh#modern-openssh-67 | https://infosec.mozilla.org/guidelines/openssh#modern-openssh-67 |
| https://linux-audit.com/audit-and-harden-your-ssh-configuration/ | https://linux-audit.com/audit-and-harden-your-ssh-configuration/ |
| https://www.ssh.com/ssh/sshd_config/ | https://www.ssh.com/ssh/sshd_config/ |
| https://www.techbrown.com/harden-ssh-secure-linux-vps-server/ | https://www.techbrown.com/harden-ssh-secure-linux-vps-server/ |
| https://serverfault.com/questions/660160/openssh-difference-between-internal-sftp-and-sftp-server/660325 | https://serverfault.com/questions/660160/openssh-difference-between-internal-sftp-and-sftp-server/660325 |
| than0s | https://github.com/than0s |
| how to find duplicate settings | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/38 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-2 |
| Issue #1 | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/1 |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#remove-short-diffie-hellman-keys |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-3 |
| Mozilla's OpenSSH guidelines for OpenSSH 6.7+ | https://infosec.mozilla.org/guidelines/openssh#modern-openssh-67 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-3 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-3 |
| https://infosec.mozilla.org/guidelines/openssh#modern-openssh-67 | https://infosec.mozilla.org/guidelines/openssh#modern-openssh-67 |
| https://infosec.mozilla.org/guidelines/key_management | https://infosec.mozilla.org/guidelines/key_management |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-3 |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#2famfa-for-ssh |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-4 |
| Fail2ban | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#fail2ban-application-intrusion-detection-and-prevention |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-not |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-3 |
| https://en.wikipedia.org/wiki/Linux_PAM | https://en.wikipedia.org/wiki/Linux_PAM |
| TOTP | https://en.wikipedia.org/wiki/Time-based_One-time_Password_algorithm |
| https://fastmail.blog/2016/07/22/how-totp-authenticator-apps-work/ | https://fastmail.blog/2016/07/22/how-totp-authenticator-apps-work/ |
| https://jemurai.com/2018/10/11/how-it-works-totp-based-mfa/ | https://jemurai.com/2018/10/11/how-it-works-totp-based-mfa/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-4 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes-3 |
| google-authenticator-libpam | https://github.com/google/google-authenticator-libpam |
| SSH public/private keys | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#ssh-publicprivate-keys |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-4 |
| https://github.com/google/google-authenticator-libpam | https://github.com/google/google-authenticator-libpam |
| https://en.wikipedia.org/wiki/Linux_PAM | https://en.wikipedia.org/wiki/Linux_PAM |
| https://en.wikipedia.org/wiki/Time-based_One-time_Password_algorithm | https://en.wikipedia.org/wiki/Time-based_One-time_Password_algorithm |
| https://fastmail.blog/2016/07/22/how-totp-authenticator-apps-work/ | https://fastmail.blog/2016/07/22/how-totp-authenticator-apps-work/ |
| https://jemurai.com/2018/10/11/how-it-works-totp-based-mfa/ | https://jemurai.com/2018/10/11/how-it-works-totp-based-mfa/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-4 |
| here | https://github.com/google/google-authenticator-libpam/blob/master/README.md#nullok |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#the-basics |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#limit-who-can-use-sudo |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-5 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-5 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes-4 |
| imthenachoman#39 | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/39 |
| sbrl | https://github.com/sbrl |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-5 |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#limit-who-can-use-su |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-6 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-6 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-5 |
| olavim | https://github.com/olavim |
| this idea | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/41 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-6 |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#ntp-client |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-7 |
| global NTP servers | https://en.wikipedia.org/wiki/Network_Time_Protocol |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-4 |
| https://www.pool.ntp.org/en/ | https://www.pool.ntp.org/en/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-7 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-6 |
| https://cloudpro.zone/index.php/2018/01/27/debian-9-3-server-setup-guide-part-4/ | https://cloudpro.zone/index.php/2018/01/27/debian-9-3-server-setup-guide-part-4/ |
| https://en.wikipedia.org/wiki/Network_Time_Protocol | https://en.wikipedia.org/wiki/Network_Time_Protocol |
| https://www.pool.ntp.org/en/ | https://www.pool.ntp.org/en/ |
| https://serverfault.com/questions/957302/securing-hardening-ntp-client-on-linux-servers-config-file/957450#957450 | https://serverfault.com/questions/957302/securing-hardening-ntp-client-on-linux-servers-config-file/957450#957450 |
| https://tf.nist.gov/tf-cgi/servers.cgi | https://tf.nist.gov/tf-cgi/servers.cgi |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-7 |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#securing-proc |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-8 |
| https://linux-audit.com/linux-system-hardening-adding-hidepid-to-proc/ | https://linux-audit.com/linux-system-hardening-adding-hidepid-to-proc/ |
| imthenachoman#37 | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/37 |
| nlgranger | https://github.com/nlgranger |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-8 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-7 |
| https://linux-audit.com/linux-system-hardening-adding-hidepid-to-proc/ | https://linux-audit.com/linux-system-hardening-adding-hidepid-to-proc/ |
| https://likegeeks.com/secure-linux-server-hardening-best-practices/#Hardening-proc-Directory | https://likegeeks.com/secure-linux-server-hardening-best-practices/#Hardening-proc-Directory |
| https://www.cyberciti.biz/faq/linux-hide-processes-from-other-users/ | https://www.cyberciti.biz/faq/linux-hide-processes-from-other-users/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-8 |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#force-accounts-to-use-secure-passwords |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-9 |
| pwquality | https://linux.die.net/man/5/pwquality.conf |
| pam_pwquality | https://linux.die.net/man/8/pam_pwquality |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-5 |
| https://en.wikipedia.org/wiki/Linux_PAM | https://en.wikipedia.org/wiki/Linux_PAM |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-9 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-9 |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#automatic-security-updates-and-alerts |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-10 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-not-1 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes-5 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-10 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#debian-based-systems |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-6 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-8 |
| https://wiki.debian.org/UnattendedUpgrades | https://wiki.debian.org/UnattendedUpgrades |
| https://debian-handbook.info/browse/stable/sect.regular-upgrades.html | https://debian-handbook.info/browse/stable/sect.regular-upgrades.html |
| https://blog.sleeplessbeastie.eu/2015/01/02/how-to-perform-unattended-upgrades/ | https://blog.sleeplessbeastie.eu/2015/01/02/how-to-perform-unattended-upgrades/ |
| https://www.vultr.com/docs/how-to-set-up-unattended-upgrades-on-debian-9-stretch | https://www.vultr.com/docs/how-to-set-up-unattended-upgrades-on-debian-9-stretch |
| https://github.com/mvo5/unattended-upgrades | https://github.com/mvo5/unattended-upgrades |
| https://wiki.debian.org/UnattendedUpgrades#apt-listchanges | https://wiki.debian.org/UnattendedUpgrades#apt-listchanges |
| https://www.cyberciti.biz/faq/apt-get-apticron-send-email-upgrades-available/ | https://www.cyberciti.biz/faq/apt-get-apticron-send-email-upgrades-available/ |
| https://www.unixmen.com/how-to-get-email-notifications-for-new-updates-on-debianubuntu/ | https://www.unixmen.com/how-to-get-email-notifications-for-new-updates-on-debianubuntu/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-10 |
| https://github.com/mvo5/unattended-upgrades | https://github.com/mvo5/unattended-upgrades |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#more-secure-random-entropy-pool-wip |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-11 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-7 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-11 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-9 |
| branneman | https://github.com/branneman |
| issue #33 | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/33 |
| https://hackaday.com/2017/11/02/what-is-entropy-and-how-do-i-get-more-of-it/ | https://hackaday.com/2017/11/02/what-is-entropy-and-how-do-i-get-more-of-it/ |
| https://www.2uo.de/myths-about-urandom | https://www.2uo.de/myths-about-urandom |
| https://www.gnu.org/software/hurd/user/tlecarrour/rng-tools.html | https://www.gnu.org/software/hurd/user/tlecarrour/rng-tools.html |
| https://wiki.archlinux.org/index.php/Rng-tools | https://wiki.archlinux.org/index.php/Rng-tools |
| https://www.howtoforge.com/helping-the-random-number-generator-to-gain-enough-entropy-with-rng-tools-debian-lenny | https://www.howtoforge.com/helping-the-random-number-generator-to-gain-enough-entropy-with-rng-tools-debian-lenny |
| https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/security_guide/sect-security_guide-encryption-using_the_random_number_generator | https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/security_guide/sect-security_guide-encryption-using_the_random_number_generator |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-11 |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/security_guide/sect-security_guide-encryption-using_the_random_number_generator | https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/security_guide/sect-security_guide-encryption-using_the_random_number_generator |
| https://wiki.archlinux.org/index.php/Rng-tools | https://wiki.archlinux.org/index.php/Rng-tools |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#the-network |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#firewall-with-ufw-uncomplicated-firewall |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-12 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-8 |
| iptables | https://en.wikipedia.org/wiki/Iptables |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-12 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes-6 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-10 |
| https://launchpad.net/ufw | https://launchpad.net/ufw |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-12 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#default-applications |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#custom-application |
| Plex | https://support.plex.tv/articles/201543147-what-network-ports-do-i-need-to-allow-through-my-firewall/ |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#iptables-intrusion-detection-and-prevention-with-psad |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-13 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-9 |
| FINESEC | https://serverfault.com/users/143961/finesec |
| https://serverfault.com/ | https://serverfault.com/ |
| https://serverfault.com/a/447604/289829 | https://serverfault.com/a/447604/289829 |
| UFW | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#ufw-uncomplicated-firewall |
| netson | https://gist.github.com/netson |
| https://gist.github.com/netson/c45b2dc4e835761fbccc | https://gist.github.com/netson/c45b2dc4e835761fbccc |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-11 |
| http://www.cipherdyne.org/psad/ | http://www.cipherdyne.org/psad/ |
| http://www.cipherdyne.org/psad/docs/config.html | http://www.cipherdyne.org/psad/docs/config.html |
| https://www.thefanclub.co.za/how-to/how-install-psad-intrusion-detection-ubuntu-1204-lts-server | https://www.thefanclub.co.za/how-to/how-install-psad-intrusion-detection-ubuntu-1204-lts-server |
| https://serverfault.com/a/447604/289829 | https://serverfault.com/a/447604/289829 |
| https://serverfault.com/a/770424/289829 | https://serverfault.com/a/770424/289829 |
| https://gist.github.com/netson/c45b2dc4e835761fbccc | https://gist.github.com/netson/c45b2dc4e835761fbccc |
| sysadt | https://github.com/sysadt |
| #61 | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/61 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-13 |
| EMAIL_ADDRESSES | http://www.cipherdyne.org/psad/docs/config.html#EMAIL_ADDRESSES |
| ENABLE_AUTO_IDS | http://www.cipherdyne.org/psad/docs/config.html#ENABLE_AUTO_IDS |
| http://www.cipherdyne.org/psad/docs/config.html | http://www.cipherdyne.org/psad/docs/config.html |
| seperating iptables logs to their own file | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#ns-separate-iptables-log-file |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#application-intrusion-detection-and-prevention-with-fail2ban |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-14 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-10 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-13 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes-7 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-12 |
| https://www.fail2ban.org/ | https://www.fail2ban.org/ |
| https://blog.vigilcode.com/2011/05/ufw-with-fail2ban-quick-secure-setup-part-ii/ | https://blog.vigilcode.com/2011/05/ufw-with-fail2ban-quick-secure-setup-part-ii/ |
| https://dodwell.us/security/ufw-fail2ban-portscan.html | https://dodwell.us/security/ufw-fail2ban-portscan.html |
| https://www.howtoforge.com/community/threads/fail2ban-and-ufw-on-debian.77261/ | https://www.howtoforge.com/community/threads/fail2ban-and-ufw-on-debian.77261/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-14 |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#custom-jails |
| contribute | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#contributing |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#unban-an-ip |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#the-auditing |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#filefolder-integrity-monitoring-with-aide-wip |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-15 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-11 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-14 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-13 |
| https://aide.github.io/ | https://aide.github.io/ |
| https://www.hiroom2.com/2017/06/09/debian-8-file-integrity-check-with-aide/ | https://www.hiroom2.com/2017/06/09/debian-8-file-integrity-check-with-aide/ |
| https://blog.rapid7.com/2017/06/30/how-to-install-and-configure-aide-on-ubuntu-linux/ | https://blog.rapid7.com/2017/06/30/how-to-install-and-configure-aide-on-ubuntu-linux/ |
| https://www.stephenrlang.com/2016/03/using-aide-for-file-integrity-monitoring-fim-on-ubuntu/ | https://www.stephenrlang.com/2016/03/using-aide-for-file-integrity-monitoring-fim-on-ubuntu/ |
| https://www.howtoforge.com/how-to-configure-the-aide-advanced-intrusion-detection-environment-file-integrity-scanner-for-your-website | https://www.howtoforge.com/how-to-configure-the-aide-advanced-intrusion-detection-environment-file-integrity-scanner-for-your-website |
| https://www.tecmint.com/check-integrity-of-file-and-directory-using-aide-in-linux/ | https://www.tecmint.com/check-integrity-of-file-and-directory-using-aide-in-linux/ |
| https://www.cyberciti.biz/faq/debian-ubuntu-linux-software-integrity-checking-with-aide/ | https://www.cyberciti.biz/faq/debian-ubuntu-linux-software-integrity-checking-with-aide/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-15 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#updating-the-database |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#anti-virus-scanning-with-clamav-wip |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-16 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-12 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-15 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes-8 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-14 |
| https://www.clamav.net/documents/installation-on-debian-and-ubuntu-linux-distributions | https://www.clamav.net/documents/installation-on-debian-and-ubuntu-linux-distributions |
| https://wiki.debian.org/ClamAV | https://wiki.debian.org/ClamAV |
| https://www.osradar.com/install-clamav-debian-9-ubuntu-18/ | https://www.osradar.com/install-clamav-debian-9-ubuntu-18/ |
| https://www.lisenet.com/2014/automate-clamav-to-perform-daily-system-scan-and-send-email-notifications-on-linux/ | https://www.lisenet.com/2014/automate-clamav-to-perform-daily-system-scan-and-send-email-notifications-on-linux/ |
| https://www.howtoforge.com/tutorial/configure-clamav-to-scan-and-notify-virus-and-malware/ | https://www.howtoforge.com/tutorial/configure-clamav-to-scan-and-notify-virus-and-malware/ |
| https://serverfault.com/questions/741299/is-there-a-way-to-keep-clamav-updated-on-debian-8 | https://serverfault.com/questions/741299/is-there-a-way-to-keep-clamav-updated-on-debian-8 |
| https://askubuntu.com/questions/250290/how-do-i-scan-for-viruses-with-clamav | https://askubuntu.com/questions/250290/how-do-i-scan-for-viruses-with-clamav |
| https://ngothang.com/how-to-install-clamav-and-configure-daily-scanning-on-centos/ | https://ngothang.com/how-to-install-clamav-and-configure-daily-scanning-on-centos/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-16 |
| https://serverfault.com/questions/741299/is-there-a-way-to-keep-clamav-updated-on-debian-8 | https://serverfault.com/questions/741299/is-there-a-way-to-keep-clamav-updated-on-debian-8 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#scanning-filesfolders |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#rootkit-detection-with-rkhunter-wip |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-17 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-13 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-16 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-15 |
| http://rkhunter.sourceforge.net/ | http://rkhunter.sourceforge.net/ |
| https://www.cyberciti.biz/faq/howto-check-linux-rootkist-with-detectors-software/ | https://www.cyberciti.biz/faq/howto-check-linux-rootkist-with-detectors-software/ |
| https://www.tecmint.com/install-rootkit-hunter-scan-for-rootkits-backdoors-in-linux/ | https://www.tecmint.com/install-rootkit-hunter-scan-for-rootkits-backdoors-in-linux/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-17 |
| https://www.tecmint.com/install-rootkit-hunter-scan-for-rootkits-backdoors-in-linux/ | https://www.tecmint.com/install-rootkit-hunter-scan-for-rootkits-backdoors-in-linux/ |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#rootkit-detection-with-chrootkit-wip |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-18 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-14 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-17 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-16 |
| http://www.chkrootkit.org/ | http://www.chkrootkit.org/ |
| https://www.cyberciti.biz/faq/howto-check-linux-rootkist-with-detectors-software/ | https://www.cyberciti.biz/faq/howto-check-linux-rootkist-with-detectors-software/ |
| https://askubuntu.com/questions/258658/eth0-packet-sniffer-sbin-dhclient | https://askubuntu.com/questions/258658/eth0-packet-sniffer-sbin-dhclient |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-18 |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#logwatch---system-log-analyzer-and-reporter |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-19 |
| logwatch | https://sourceforge.net/projects/logwatch/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-15 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-18 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes-9 |
| https://www.badpenguin.org/configure-logwatch-for-weekly-email-and-html-output-format | https://www.badpenguin.org/configure-logwatch-for-weekly-email-and-html-output-format |
| https://blog.dhampir.no/content/exim4-line-length-in-debian-stretch-mail-delivery-failed-returning-message-to-sender | https://blog.dhampir.no/content/exim4-line-length-in-debian-stretch-mail-delivery-failed-returning-message-to-sender |
| issue #29 | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/29 |
| Gmail and Exim4 As MTA With Implicit TLS | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#gmail-and-exim4-as-mta-with-implicit-tls |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-17 |
| amacheema | https://github.com/amacheema |
| issue #29 | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/29 |
| https://sourceforge.net/projects/logwatch/ | https://sourceforge.net/projects/logwatch/ |
| https://www.digitalocean.com/community/tutorials/how-to-install-and-use-logwatch-log-analyzer-and-reporter-on-a-vps | https://www.digitalocean.com/community/tutorials/how-to-install-and-use-logwatch-log-analyzer-and-reporter-on-a-vps |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-19 |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| https://blog.dhampir.no/content/exim4-line-length-in-debian-stretch-mail-delivery-failed-returning-message-to-sender | https://blog.dhampir.no/content/exim4-line-length-in-debian-stretch-mail-delivery-failed-returning-message-to-sender |
| issue #29 | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/29 |
| Gmail and Exim4 As MTA With Implicit TLS | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#gmail-and-exim4-as-mta-with-implicit-tls |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#ss---seeing-ports-your-server-is-listening-on |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-20 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-19 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-18 |
| https://www.reddit.com/r/linux/comments/arx7st/howtosecurealinuxserver_an_evolving_howto_guide/egrib6o/ | https://www.reddit.com/r/linux/comments/arx7st/howtosecurealinuxserver_an_evolving_howto_guide/egrib6o/ |
| https://www.reddit.com/r/linux/comments/arx7st/howtosecurealinuxserver_an_evolving_howto_guide/egs1rev/ | https://www.reddit.com/r/linux/comments/arx7st/howtosecurealinuxserver_an_evolving_howto_guide/egs1rev/ |
| https://www.tecmint.com/find-open-ports-in-linux/ | https://www.tecmint.com/find-open-ports-in-linux/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-20 |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#lynis---linux-security-auditing |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-21 |
| https://cisofy.com/lynis/ | https://cisofy.com/lynis/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-20 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes-10 |
| https://packages.cisofy.com/ | https://packages.cisofy.com/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-19 |
| https://cisofy.com/documentation/lynis/get-started/ | https://cisofy.com/documentation/lynis/get-started/ |
| https://packages.cisofy.com/community/#debian-ubuntu | https://packages.cisofy.com/community/#debian-ubuntu |
| https://thelinuxcode.com/audit-lynis-ubuntu-server/ | https://thelinuxcode.com/audit-lynis-ubuntu-server/ |
| https://www.vultr.com/docs/install-lynis-on-debian-8 | https://www.vultr.com/docs/install-lynis-on-debian-8 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-21 |
| https://cisofy.com/lynis/#installation | https://cisofy.com/lynis/#installation |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#the-danger-zone |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#proceed-at-your-own-risk |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents-1 |
| Linux Kernel sysctl Hardening | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#linux-kernel-sysctl-hardening |
| Password Protect GRUB | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#password-protect-grub |
| Disable Root Login | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#disable-root-login |
| Change Default umask | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#change-default-umask |
| Orphaned Software | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#orphaned-software |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#linux-kernel-sysctl-hardening |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-22 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-not-2 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#disclaimer |
| let me know | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#contacting-me |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes-11 |
| documentation I can find | https://github.com/torvalds/linux/tree/master/Documentation |
| let me know | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#contacting-me |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-20 |
| https://github.com/torvalds/linux/tree/master/Documentation | https://github.com/torvalds/linux/tree/master/Documentation |
| https://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening/ | https://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening/ |
| https://geektnt.com/sysctl-conf-hardening.html | https://geektnt.com/sysctl-conf-hardening.html |
| https://linoxide.com/how-tos/linux-server-protection/ | https://linoxide.com/how-tos/linux-server-protection/ |
| https://github.com/klaver/sysctl/blob/master/sysctl.conf | https://github.com/klaver/sysctl/blob/master/sysctl.conf |
| https://cloudpro.zone/index.php/2018/01/30/debian-9-3-server-setup-guide-part-5/ | https://cloudpro.zone/index.php/2018/01/30/debian-9-3-server-setup-guide-part-5/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-22 |
| linux-kernel-sysctl-hardening.md | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/blob/master/linux-kernel-sysctl-hardening.md |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#password-protect-grub |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-23 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-not-3 |
| some work | https://www.cyberciti.biz/tips/howto-recovering-grub-boot-loader-password.html |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-21 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes-12 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-21 |
| https://selivan.github.io/2017/12/21/grub2-password-for-all-but-default-menu-entries.html | https://selivan.github.io/2017/12/21/grub2-password-for-all-but-default-menu-entries.html |
| https://help.ubuntu.com/community/Grub2/Passwords | https://help.ubuntu.com/community/Grub2/Passwords |
| https://computingforgeeks.com/how-to-protect-grub-with-password-on-debian-ubuntu-and-kali-linux/ | https://computingforgeeks.com/how-to-protect-grub-with-password-on-debian-ubuntu-and-kali-linux/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-23 |
| Password-Based Key Derivation Function 2 (PBKDF2) | https://en.wikipedia.org/wiki/PBKDF2 |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#disable-root-login |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-24 |
| configured properly | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#limit-who-can-use-sudo |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-not-4 |
| sulogin | https://linux.die.net/man/8/sulogin |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-22 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes-13 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-22 |
| https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806852 | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806852 |
| systemd/systemd#7115 | https://github.com/systemd/systemd/issues/7115 |
| https://github.com/karelzak/util-linux/commit/7ff1162e67164cb4ece19dd809c26272461aa254 | https://github.com/karelzak/util-linux/commit/7ff1162e67164cb4ece19dd809c26272461aa254 |
| systemd/systemd#11596 | https://github.com/systemd/systemd/issues/11596 |
| https://www.reddit.com/r/selfhosted/comments/aoxd4l/new_guide_created_by_me_how_to_secure_a_linux/eg4rkfi/ | https://www.reddit.com/r/selfhosted/comments/aoxd4l/new_guide_created_by_me_how_to_secure_a_linux/eg4rkfi/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-24 |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#change-default-umask |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-25 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-not-5 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#how-it-works-16 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-23 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes-14 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-23 |
| https://www.linuxnix.com/umask-define-linuxunix/ | https://www.linuxnix.com/umask-define-linuxunix/ |
| https://serverfault.com/questions/818783/which-umask-is-more-secure-in-linux-022-or-027 | https://serverfault.com/questions/818783/which-umask-is-more-secure-in-linux-022-or-027 |
| https://www.cyberciti.biz/tips/understanding-linux-unix-umask-value-usage.html | https://www.cyberciti.biz/tips/understanding-linux-unix-umask-value-usage.html |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-25 |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#orphaned-software |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-26 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#notes-15 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#debian-based-systems-1 |
| deborphan | http://freshmeat.sourceforge.net/projects/deborphan/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-not-6 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-26 |
| Assuming you want to remove all of the packages deborphan finds | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#orphaned-software-why-not |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#the-miscellaneous |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#gmail-and-exim4-as-mta-with-implicit-tls |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-27 |
| previous version of this guide | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/tree/cc5edcae1cf846dd250e76b121e721d836481d2f#configure-gmail-as-mta |
| issue #29 | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/29 |
| here | https://blog.dhampir.no/content/exim4-line-length-in-debian-stretch-mail-delivery-failed-returning-message-to-sender |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#goals-24 |
| Gmail | https://mail.google.com/ |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-24 |
| remyabel | https://github.com/remyabel |
| issue #24 | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/24 |
| pull request #26 | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/pull/26 |
| https://wiki.debian.org/Exim | https://wiki.debian.org/Exim |
| https://wiki.debian.org/GmailAndExim4 | https://wiki.debian.org/GmailAndExim4 |
| https://www.exim.org/exim-html-current/doc/html/spec_html/ch-encrypted_smtp_connections_using_tlsssl.html | https://www.exim.org/exim-html-current/doc/html/spec_html/ch-encrypted_smtp_connections_using_tlsssl.html |
| https://php.quicoto.com/setup-exim4-to-use-gmail-in-ubuntu/ | https://php.quicoto.com/setup-exim4-to-use-gmail-in-ubuntu/ |
| https://www.fastmail.com/help/technical/ssltlsstarttls.html | https://www.fastmail.com/help/technical/ssltlsstarttls.html |
| issue #29 | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/29 |
| https://blog.dhampir.no/content/exim4-line-length-in-debian-stretch-mail-delivery-failed-returning-message-to-sender | https://blog.dhampir.no/content/exim4-line-length-in-debian-stretch-mail-delivery-failed-returning-message-to-sender |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-27 |
| Let's Encrypt | https://letsencrypt.org/ |
| fix exim4's long lines issue | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/29 |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| UFW | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#ufw-uncomplicated-firewall |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#separate-iptables-log-file |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#why-28 |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#references-25 |
| https://blog.shadypixel.com/log-iptables-messages-to-a-separate-file-with-rsyslog/ | https://blog.shadypixel.com/log-iptables-messages-to-a-separate-file-with-rsyslog/ |
| https://gist.github.com/netson/c45b2dc4e835761fbccc | https://gist.github.com/netson/c45b2dc4e835761fbccc |
| https://www.rsyslog.com/doc/v8-stable/configuration/actions.html | https://www.rsyslog.com/doc/v8-stable/configuration/actions.html |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#steps-28 |
| step 4 of installing psad | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#psad_step4 |
| "to omit syncing the file after every logging" | https://www.rsyslog.com/doc/v8-stable/configuration/actions.html#regular-file |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| For the lazy | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#editing-configuration-files---for-the-lazy |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#left-over |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#contacting-me |
| new issue | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/new |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#helpful-links |
| https://github.com/pratiktri/server_init_harden | https://github.com/pratiktri/server_init_harden |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#acknowledgments |
| https://www.reddit.com/r/linuxquestions/comments/aopzl7/new_guide_created_by_me_how_to_secure_a_linux/ | https://www.reddit.com/r/linuxquestions/comments/aopzl7/new_guide_created_by_me_how_to_secure_a_linux/ |
| https://www.reddit.com/r/selfhosted/comments/aoxd4l/new_guide_created_by_me_how_to_secure_a_linux/ | https://www.reddit.com/r/selfhosted/comments/aoxd4l/new_guide_created_by_me_how_to_secure_a_linux/ |
| https://news.ycombinator.com/item?id=19177435#19178618 | https://news.ycombinator.com/item?id=19177435#19178618 |
| https://www.reddit.com/r/linuxadmin/comments/arx7xo/howtosecurealinuxserver_an_evolving_howto_guide/ | https://www.reddit.com/r/linuxadmin/comments/arx7xo/howtosecurealinuxserver_an_evolving_howto_guide/ |
| https://www.reddit.com/r/linux/comments/arx7st/howtosecurealinuxserver_an_evolving_howto_guide/ | https://www.reddit.com/r/linux/comments/arx7st/howtosecurealinuxserver_an_evolving_howto_guide/ |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| https://github.com/streamcoding/How-To-Secure-A-Linux-Server#license-and-copyright |
| http://creativecommons.org/licenses/by-sa/4.0/ |
| How To Secure A Linux Server | https://github.com/imthenachoman/How-To-Secure-A-Linux-Server |
| Anchal Nigam | https://github.com/imthenachoman |
| Creative Commons Attribution-ShareAlike 4.0 International License | http://creativecommons.org/licenses/by-sa/4.0 |
| LICENSE | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/blob/master/LICENSE.txt |
| Table of Contents | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#table-of-contents |
| Readme | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#readme-ov-file |
| CC-BY-SA-4.0 license | https://github.com/streamcoding/How-To-Secure-A-Linux-Server#CC-BY-SA-4.0-1-ov-file |
| Activity | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/activity |
| Custom properties | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/custom-properties |
| 0 forks | https://github.com/streamcoding/How-To-Secure-A-Linux-Server/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fstreamcoding%2FHow-To-Secure-A-Linux-Server&report=streamcoding+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |