![Harden your public webserver](/content/images/size/w1120/2023/07/Harden-your-public-webserver-1.jpg)
Security
Harden your public webserver
Harden your public webserver (part 1: unattended-upgrades)
Everyone who at some point comes across the idea of renting their own root server knows the queasy feeling that the server has been released for attack.
![](https://okxo.de/content/images/2023/07/Harden-your-public-webserver--Part-1--unattended-upgrades-.jpg)
Harden your public webserver (Part 2: crowdsec)
Quickly after the server is on the Internet, it is open for script kiddies to eat. One of the first annoyances are bruteforce attacks.
![](https://okxo.de/content/images/2023/07/Harden-your-public-webserver--Part-2--crowdsec-.jpg)
Harden your public webserver (Part 3: shutdown SSH)
One of the main points of attack is the SSH interface. Script kiddies love an open SSH port.
![](https://okxo.de/content/images/2023/07/Harden-your-public-webserver--Part-3--shutdown-SSH-.jpg)