In order to leave your server without worry, you’ll want to secure your SSH daemon on your server. First, if you haven’t already, you should create an SSH key on your local machine: Next, copy that key across to your server: Once you’ve copied across your key, log into your
Install ConfigServer Firewall (CSF) on CentOS 7
ConfigServer Firewall (CSF) is my preferred alternative to iptables. It’s very easy to install. First, we need to prepare yum. You’ll want to be root for this: Next, download and install CSF from its source: Once that’s done, check whether the installation has worked: After that has run successfully, you