Skip to content

Dedicated Server: Security in the First 24 Hours

Blog 2 min read

A checklist for the first 24 hours of a new dedicated server: SSH keys, updates, firewall, services, backups and remote management access.

A new server on a public IP address is probed within minutes. The first day is when you set the baseline that keeps it boring afterwards. Work through the list in order, and keep a second SSH session open while you change login settings so a mistake does not lock you out.

The checklist

  1. Update everything. Refresh the package index and install all security updates, then reboot if the kernel changed.
  2. Create a non-root user with sudo and set up an SSH key for it.
  3. Harden SSH. Disable password login and direct root login in sshd_config, test with sshd -t, reload and confirm a new session works before closing the old one.
  4. Turn on a firewall with default deny and allow only the ports you serve, such as 22, 80 and 443.
  5. Stop unused services. List listening ports with ss -tlnp and remove anything you did not install on purpose.
  6. Enable automatic security updates for the operating system.
  7. Add brute-force protection such as rate limits or a ban tool for repeated SSH failures.
  8. Check time sync so logs and certificates agree.
  9. Secure remote management. Restrict access to the management interface and change default credentials.
  10. Back up and test. Configure an off-server backup and restore one file as proof.
  11. Record what you did in a short document: IP, users, ports, backup target, who owns patching.

What to monitor from day one

SignalWhy
Disk usageA full disk stops databases and mail
Memory and loadEarly sign of an undersized machine
RAID or disk healthA degraded array is a risk until rebuilt
Failed loginsShows scanning and weak points
Certificate expiryAn expired certificate shows visitors a warning

The decision on who handles this long term is in managed vs unmanaged dedicated server. For the data-protection side of security, read GDPR data security. Options start at the dedicated server page.

Frequently asked questions

Should I change the SSH port?

It reduces log noise but is not a security control. Keys and a firewall do the work.

Is a firewall enough?

No. It limits exposure. Updates, keys and backups are still needed.

What if I lock myself out?

Keep a second session open while you test, and know how to reach the remote management console.

How often should I patch afterwards?

Apply security updates automatically and review the rest on a fixed calendar, for example weekly.

dedicated server security harden ssh eurovdc

EuroVDC

Full Performance, Full Control

Dedicated hardware · Root access · 99.9% uptime SLA

Rent a Dedicated Server

Did you find this content useful?

– People found it useful

Share on Social Media

Dedicated Server: Security in the First 24 Hours