Six Easy Steps to Make a Super Secure Linux Server
Curiously many Linux administrators out there are clueless about properly securing or configuring a server. The following steps can significantly increase the stability and security of any Linux server. These tips are all easy and quick to do as each can be completed in less than fifteen minutes!
1.) Installing latest security updates. Of course, Linux is an amazing OS- but all software has security issues. Enabling the automatic updates installation through a cron script is the most foolproof and easiest way to make sure that your server security isn’t compromised. You have no excuse to not install the most recent security updates- earlier packages are stored in the package archives just in case there is a compatibility or stability issue.
2.) Disabling root login via SSH. Admittedly, we all have been guilty of this occasionally. Let’s just face it, people like being able to easily and quickly log into the servers, and change important settings. However, if you are using password authentication, what is to keep others from logging into your system? Additionally, you shouldnt use password authentication on any Linux servers, to prevent someone else from logging into the server. Instead, activate RSA signed authorization keys. It is safer, since an attacker wont be able to guess and brute-force a login session.