When setting up droplets on Digital Ocean it is encouraged to setup some basic security and monitoring. I have read around quite a lot recently on best practices for hardening a new Ubuntu server. Below are the steps I have compiled. Does the community have any suggestions for tweaks to this list including additions or removals?
Sources
1. Digital Ocean - 7 Security Measures to Protect your Servers
2. Digital Ocean - What do you do with your first five minutes on a new server
3. Securing a Server with Ansible
4. Ghost on Digitalocean 512MB
5. Tech Republic - How to harden ubuntu server 16-04 security in five step
6. How to configure Auto-Updates on Linux Ubuntu Servers
7. Linode - Securing your Server
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
Question: We are planning to host SFTP based application in Azure on Linux based platform. We need to know different security features which we can implement for SFTP access. How do we configure SFTP in High availability mode. From client machine how we can connect to SFTP application by using script. How reliable & scalable solution would be as there will large number of files in Gb will be transferred with this application.
I personally used this tutorial to harden my digitalocean droplet. It includes, Replacing Password Login With Authorized keys https://hostup.org/blog/how-to-secure-a-ubuntu-linux-server-in-3-simple-steps/
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.