01
The first login, by system
On delivery, you receive the server's IP address and the root credentials. From your computer (Linux, macOS, or PowerShell on Windows 10 and 11):
ssh root@adresse-du-serveur
On the first login, SSH shows the server key's fingerprint and asks for confirmation: answer yes. If the server has been reinstalled since a previous login, SSH refuses to go further because the fingerprint has changed: remove the old one from your computer with ssh-keygen -R adresse-du-serveur. Once logged in, change the root password with passwd. The guide connecting over SSH covers these basics step by step.
- Debian and Ubuntu: everything happens over SSH, as in the rest of this guide.
- Proxmox VE: besides SSH, the web interface answers at
https://adresse-du-serveur:8006, with the root account and the "Linux PAM" realm. The certificate is self-signed at first: the browser warning is expected. Networking and storage are covered in Proxmox on a dedicated server.
- Virtualizor: the admin panel answers at
https://adresse-du-serveur:4085 (4084 without encryption), with the root credentials; the panel for your customers uses ports 4083 and 4082. See Virtualizor on a dedicated server.
Keep one rule in mind for everything else: most dedicated servers have no remote console. If a network, SSH or firewall mistake cuts off your access, you cannot fix it yourself. During every change, leave a session open and test in a new window.
02
Update, name the server, set the time
First install the fixes released since the system image was built:
apt update && apt full-upgrade
- Proxmox: without a subscription, first disable the "enterprise" repository and enable the "no-subscription" one, under the node's Repositories section. Always use
apt full-upgrade: the Proxmox documentation warns that a plain apt upgrade can leave the system half updated.
- Virtualizor: it runs on a base Linux system, which you update with its package manager (
apt on Ubuntu, dnf upgrade on AlmaLinux).
If a new kernel was installed, reboot with reboot. A physical server takes longer than a VPS to come back, because the hardware reinitialises: give it a few minutes.
Then give the server a name and choose its time zone:
hostnamectl set-hostname srv1.exemple.fr
timedatectl set-timezone Europe/Paris
timedatectl
Add the new name to /etc/hosts. The last command should show System clock synchronized: yes: an accurate clock matters for logs, certificates and two-factor codes. On Proxmox, choose the name before creating any machine: it is also the node's name, and the Proxmox documentation advises against changing it on a node that already hosts machines.
03
Your account, with sudo and an SSH key
Working as root all the time gives full power to the slightest typo. Create your own account (here alice):
apt install sudo
adduser alice
usermod -aG sudo alice
sudo is often missing on a minimal Debian and on Proxmox: the first line installs it. On AlmaLinux, the admin group is called wheel: useradd -m alice, passwd alice, then usermod -aG wheel alice.
On your computer, create an SSH key and copy its public part to the server:
ssh-keygen -t ed25519
ssh-copy-id alice@adresse-du-serveur
On Windows, where ssh-copy-id does not exist, the guide creating an SSH key shows how to add the key by hand. Then check, in a new window, that ssh alice@adresse-du-serveur logs in without asking for the account password and that sudo whoami answers root. Only then can you forbid passwords and direct root login: that is the subject of the guide securing a dedicated server.
On Proxmox, this Linux account is for SSH; the web interface keeps using root@pam. Enable two-factor authentication there (TOTP code or security key) from day one.
04
A firewall, without locking yourself out
Without a firewall, any service listening on the network can be reached by anyone. First look at what is listening: ss -tulpn. Then, on Debian or Ubuntu:
apt install ufw
ufw default deny incoming
ufw default allow outgoing
ufw allow OpenSSH
ufw enable
ufw status verbose
The SSH rule comes before ufw enable: with no remote console, forgetting it locks you out. Then add your services' ports, for example ufw allow 80,443/tcp for a website.
- Proxmox: rather than ufw, use the firewall built into Proxmox, which also handles each virtual machine's firewall; two tools writing rules for the same firewall get in each other's way. Before enabling it, add your addresses to the "management" IP set: once active, it blocks everything else by default.
- Virtualizor: the panel uses ports 4081 to 4085. A firewall that blocks them cuts off the panel; it is better to restrict its access to your addresses, with the "Allowed IP list to Access Panel" security setting.
The guide securing a dedicated server goes further: a safety rule that cancels the firewall on its own after ten minutes, nftables, multiple IP addresses and protecting the Proxmox 8006 interface.
05
Off-server backups and monitoring
A dedicated server is a physical machine: a disk can fail, a command can wipe everything. A backup stored on the same server disappears with it: send it elsewhere.
- Debian and Ubuntu:
restic or borg encrypt your data and send it to another server or remote storage, for example restic -r sftp:sauvegarde@autre-serveur:/srv/restic init, then restic -r sftp:sauvegarde@autre-serveur:/srv/restic backup /etc /home /var/www. Export databases first (mysqldump, pg_dump) and schedule everything with a cron job.
- Proxmox: schedule machine backups in Datacenter › Backup, to a network share or to a Proxmox Backup Server installed on another machine.
- Virtualizor: declare a backup server (SSH, FTP or S3-compatible storage) under Hypervisors › Add Backup Server, then create a backup plan that uses it.
Test a restore from time to time: it is the only way to know it works.
For monitoring, a few commands are enough at first:
df -h
systemctl --failed
journalctl -p err -b
apt install smartmontools
smartctl -a /dev/nvme0n1
They show disk space, failed services, errors since the last boot and the health of the NVMe drive (on software RAID, cat /proc/mdstat; with ZFS, zpool status). Add monitoring installed on another machine that alerts you when the server stops answering: a server that is down cannot warn you itself. The guide monitoring resources presents the tools.
06
On a CloudFive dedicated server
Our dedicated servers, from €75 per month, are in France, with no commitment and no setup fee. They are delivered within 24 to 72 hours with Debian, Ubuntu, Proxmox or Virtualizor, and full root access; Windows is also possible, and a custom installation can be requested by ticket. For Windows, ask about the terms when ordering or by ticket.
- Console: no remote console access, except the iDRAC on the 2x Xeon Gold 6254. Hence the care with SSH and the firewall.
- IP addresses: depending on the model, addresses are included (5, 10 or 20 on the Ryzen servers), useful for Proxmox or Virtualizor virtual machines (see Proxmox dedicated server). Each extra address costs €1.50 per month.
- Storage: 2 TB of NVMe included on the Ryzen servers, and extra drives on request (NVMe at €15 per TB per month, SSD at €10). An extra drive holds fast local copies, but does not replace an off-server backup. RAID is possible: specify it when ordering or by ticket. No graphics card (GPU).
- Anti-DDoS: optional, by ticket (see anti-DDoS dedicated server).
- Options and plan changes: by ticket from the customer area manager.cloudfive.fr. Support answers in French 7 days a week, by ticket, on Discord and by phone.
- Moving in: for new customers, migration from the old server is free; request it by ticket (see moving to a dedicated server).
To choose the machine, read renting a dedicated server.
07
Frequently asked questions
What should I do first after a dedicated server is delivered?
Log in over SSH with the root account, change its password and install updates with apt update then apt full-upgrade. Then create your own account with sudo and an SSH key, set up the firewall and organise backups off the server.
How do I connect to a dedicated server for the first time?
Open a terminal on your computer and type ssh root@ followed by the server's IP address, then the password received on delivery. On Proxmox, the web interface is also available on port 8006; on Virtualizor, the admin panel answers on port 4085.
Should I reboot a dedicated server after the first update?
Yes, if a new kernel was installed: it is only used after a reboot. A physical server takes longer than a VPS to restart; give it a few minutes before worrying.
What if I lock myself out of SSH on my dedicated server?
Without a remote console, which is the case for most dedicated servers, you cannot fix it yourself: open a ticket. To avoid it, always keep a session open during an SSH or firewall change and test the connection in a new window before closing it.
Which system should I choose when ordering a dedicated server?
Debian or Ubuntu to install your services directly on the machine. Proxmox to split it into virtual machines and containers managed from a web interface. Virtualizor to create and manage VPS with a panel for your own customers. Windows is also possible on our dedicated servers: ask about its terms when ordering or by ticket.