Question

What security measures to take on the droplet?

Hi, I’ve implemented these security measures on my new droplet as part of the basic setup:

  1. Enabled SSH keys
  2. Disabled root login
  3. Disallowed password authentication
  4. Restricted use of PAM
  5. Changed port number
  6. Limited users through SSH
  7. Installed UFW firewall

Do you think these are sufficient or there are any other security aspects that I should have on the droplet before going ahead with LAMP or LEMP stack to eventually install WordPress?

Sharing of your personal experiences will be highly appreciated. Thanks. :)

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This is a good start! I would also recommend setting up fail2ban if you begin seeing a lot of failed ssh authentication attempts. With the changed port you might not so I’d watch your logs and set up fail2ban if it makes sense.

This comment has been deleted