> For the complete documentation index, see [llms.txt](https://docs.chaindigital.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chaindigital.tech/validator-security/server-security-for-validators.md).

# Server Security for Validators

For an in-depth guide on securing validator nodes, refer to [How to Secure Your Server: From Changing the SSH Port to Managing Validator Keys with TMKMS](https://medium.com/@ernventures/server-protection-how-to-secure-access-and-save-validator-keys-dcc817a31956).

This article provides a comprehensive guide on securing a server, particularly for blockchain validators.

&#x20;It covers essential steps such as changing the default SSH port, setting up a non-root user, enforcing private key login, and configuring a firewall using UFW and fail2ban.&#x20;

It also explains secure validator key management using TMKMS for remote signing, automatic failover with Keepalived, and Shamir’s Secret Sharing for key splitting.&#x20;

Additionally, it introduces sentry nodes to mitigate DDoS attacks. These strategies aim to enhance both server and validator security.
