Thanks I’ll check those out. I’m new to Linux so having something I can copy paste into terminal is greatly appreciated.
There are quite a lot of tutorials maybe you can check these. The keyword is "Securing linux vps/machine"
https://www.digitalocean.com/community/tutorials/an-introduction-to-securing-your-linux-vps
Discussion
Welcome, hopefully this can help you a bit :)