The first hour with a new dedicated server

A short routine right after delivery turns a fresh install into a machine you can trust for years. Most of it takes a few minutes per step.

Where do I find the login details?

On the server page in your account, as soon as the status changes from Delivering to Running. It lists the IPv4 address, the IPv6 block and either the SSH keys you picked or a one-time root password. Most machines arrive within 24 hours; Storage and Enterprise models can take up to 72 hours because they are assembled and tested with more drives and memory.

ssh root@192.0.2.40
# or, with a key that is not your default
ssh -i ~/.ssh/work_ed25519 root@192.0.2.40

The first connection asks you to confirm the host key fingerprint. Accept it once; if it ever changes without a reinstall, find out why before you type a password.

How do I check the hardware matches what I ordered?

Read the processor, memory and drives straight from the system and compare them with the model page. This takes a minute and gives you a baseline for later.

lscpu | grep -E 'Model name|^CPU\(s\)|Thread'
free -g
lsblk -d -o NAME,SIZE,MODEL,ROTA
cat /proc/mdstat
ip -br addr

A mirrored model shows two identical drives and md arrays in state [UU]. If anything differs from the order, open a ticket with the output attached straight away so it can be corrected while the machine is new.

What should I update first?

Everything: install the latest packages and reboot once if a new kernel arrived. The installer lays down a current system, but packages released since then should be applied before the server faces the world.

# Debian and Ubuntu
apt-get -q update && apt-get -qy full-upgrade
# AlmaLinux, Rocky Linux and Fedora
dnf upgrade --refresh -y
test -e /run/reboot-required && shutdown -r +1 "kernel update"

Then switch on unattended security updates: unattended-upgrades on Debian and Ubuntu, dnf-automatic with apply_updates = yes on the Enterprise family. A patched kernel still needs a reboot to take effect, so plan a monthly restart window.

Should I keep working as root?

Create a personal account with sudo and use that for daily work. It leaves a trail of who did what, and a mistyped command needs an explicit sudo to do damage. Copy root's keys so the new user can log in the same way.

adduser marta
usermod -aG sudo marta        # wheel instead of sudo on Enterprise Linux
rsync -a --chown=marta:marta /root/.ssh/ /home/marta/.ssh/

How do I lock down SSH?

Allow keys only and stop direct root logins once your own account works. A drop-in file keeps these lines safe from later package upgrades.

printf 'PermitRootLogin no\nPasswordAuthentication no\nAllowUsers marta\n' > /etc/ssh/sshd_config.d/10-local.conf
/usr/sbin/sshd -t && systemctl reload ssh.service

Keep the current session open and log in as the new user from another terminal before you close anything. Moving SSH to another port reduces log noise but adds no real protection; keys do that. If you have no key yet, the Create SSH keys guide explains how to make one.

What else belongs in the first hour?

How do I take a baseline of performance?

Record a few numbers now, while the machine is idle and healthy, so you can tell later whether it has become slower. A short disk test, a memory bandwidth figure and SMART data for each drive are enough. Store the output with your documentation.

fio --name=base --filename=/root/fio.tmp --size=4G --rw=randread --bs=4k --iodepth=32 --runtime=30 --time_based --direct=1
smartctl -a /dev/nvme0n1 > /root/smart-nvme0-day1.txt
rm /root/fio.tmp

What comes next?

Install the workload. For a web application stack, start with Install a LAMP stack; for virtual machines, Proxmox VE can be installed straight from the console. Bookmark Diagnose hardware problems for the day something feels wrong, and read Hardening a new dedicated server for the longer list of protections worth adding once the service is live.

Related pages

Create 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 more

Build an iptables firewall

A default-deny host firewall with iptables or nftables: allow SSH and web, rate-limit new connections, cover IPv6 and keep the rules across reboots.

Read more

Install a LAMP stack

Install Apache, MariaDB and PHP on Debian, Ubuntu or the Enterprise Linux family, add a virtual host and HTTPS, and tune it for the hardware.

Read more

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 more

Questions and answers

How soon after payment is the server ready?

Usually within 24 hours. Storage and Enterprise models can take up to 72 hours.

Where do I see the IP address and password?

On the server page of your account once the status is Running. If you chose SSH keys at order time, no root password is shown.

What if the hardware differs from my order?

Open a ticket with the output of lscpu, free and lsblk. The difference is corrected by the data centre team.

Should I change the SSH port?

It reduces log noise but is not real protection. Key-only login and a firewall matter far more.

Is the server patched when it is delivered?

The system is installed from current images. Run a full update once anyway, since packages may have been released after the image was built.