IT security essentials for teams that run servers
IT security protects information and the systems that handle it. For a team renting servers, it comes down to a few habits applied consistently, which matter far more than any single product.
What is IT security trying to achieve?
Three goals, usually called the CIA triad. Confidentiality: only the right people can read data. Integrity: data and systems are not changed without permission. Availability: services work when they are needed. Every control serves at least one of these. Encryption serves confidentiality, checksums and signed packages serve integrity, and redundancy and DDoS filtering serve availability.
Where do most incidents start?
With stolen credentials, unpatched software and exposed services. A phished password reused on an admin panel, a public-facing application with a known vulnerability, or a database listening on the internet with a default password account for a large share of real breaches. Addressing those three closes most doors before anything more advanced is needed.
How should access be handled?
By person, with keys and a second factor. Give every administrator a named account and an SSH key with a passphrase, ideally held on a hardware token. Disable password and root logins over SSH, use sudo for privilege and remove accounts the day someone leaves. Our Create SSH keys guide covers key creation.
ssh-keygen -t ed25519-sk -O resident -C "rhea@ops" sshd -T | grep -E 'passwordauthentication|permitrootlogin|pubkeyauthentication'
How fast should patches be applied?
Security updates for exposed services within days, critical ones within hours. Unattended security upgrades on Debian and Ubuntu, or dnf-automatic on AlmaLinux, Rocky Linux and Fedora, install them without waiting for a person. Kernel updates need a reboot, which you can schedule from the server or trigger from our console. Processor flaws also need microcode and kernel fixes, covered in Patch CPU vulnerabilities.
apt install unattended-upgrades && dpkg-reconfigure -plow unattended-upgrades dnf install dnf-automatic && systemctl enable --now dnf-automatic-install.timer
How do I reduce exposure?
Run only the services you need and publish only the ports users need. A host firewall with a default-deny inbound policy keeps everything else closed. Management interfaces, databases and metrics should listen on loopback or a WireGuard address. Every server we rent also sits behind DDoS filtering, which protects availability; it does not decide which ports are open, so your firewall still matters. What a firewall does explains the rules.
| Area | Minimum habit | Goal served |
|---|---|---|
| Identity | Named accounts, SSH keys, second factor | Confidentiality, integrity |
| Patching | Automatic security updates, regular reboots | Integrity |
| Exposure | Default-deny firewall, private management | Confidentiality, availability |
| Data | Encryption in transit and at rest, backups | Confidentiality, availability |
| Detection | Central logs and alerts | All three |
How should data be protected?
Encrypt it moving and resting, and keep copies elsewhere. TLS on every public service, WireGuard or TLS between servers, since traffic between our machines crosses the public network, and LUKS disk encryption where policy requires it. Versioned backups on a separate server, with credentials production cannot use to delete them, protect against ransomware. Data backup and recovery and Data loss prevention go further.
What should be logged?
Logins, privilege use, configuration changes and errors from exposed services, sent to a separate host so an intruder cannot erase them. auditd records sensitive actions; the systemd journal can forward to a central collector. Alerts on new admin accounts, logins from unusual places and sudden outbound traffic catch most intrusions early.
How do I check that the habits hold?
With a short monthly review and an occasional outside look. Compare the list of user accounts and SSH keys with the current team, confirm that every server reported its updates, scan your public addresses from another machine for unexpected open ports, and read a sample of authentication logs. Once a year, an external penetration test or a colleague from another team attacking a staging copy finds the gaps that familiarity hides. Track findings to closure in the same tracker as other work, so security does not become a separate list that nobody reads.
What if something goes wrong?
Have a short, practised response: isolate the machine, preserve evidence, find the entry point, rebuild from a clean install rather than cleaning in place, rotate credentials and restore data from a backup taken before the intrusion. Our console's rescue boot lets you inspect disks without starting the compromised system. Respond to a compromised server walks through the steps, and Hardening a new dedicated server sets the baseline to rebuild to.
Related pages
Hardening a new dedicated server
The first hour on a fresh machine: SSH keys, a firewall, automatic updates, brute force blocking and a habit of checking what listens.
Read moreRespond to a compromised server
What to do in the first hour after you suspect an intruder on a rented machine: contain, preserve evidence, rebuild and close the hole.
Read moreWhat a firewall does
Firewalls explained from packets up: stateful filtering, default-deny policies, host and network firewalls, nftables examples and mistakes that lock you out.
Read moreCreate SSH keys
Generate an Ed25519 key pair on Windows, macOS or Linux, add it to your account before ordering, and manage keys on a running server.
Read moreQuestions and answers
What are the three goals of IT security?
Confidentiality, integrity and availability: keep data private, unchanged without permission and available when needed.
What causes most server breaches?
Stolen or weak credentials, unpatched software and services exposed to the internet that did not need to be.
How quickly should security patches be installed?
Within days for exposed services and within hours for critical flaws. Automatic security updates help a lot.
Does DDoS protection make my server secure?
It protects availability against floods. You still need a firewall, patching, strong access control and monitoring.
What should I do if a server is compromised?
Isolate it, keep evidence, rebuild from a clean install, rotate all credentials and restore data from a backup taken before the intrusion.