How-to Guides for Running Your Own Machine

Short, tested walk-throughs for the jobs that come up once you hold root on a bare metal box, written for the nine images we install.

Who are these guides written for?

For people who just got the keys to a whole physical machine and want to run it well without a support contract. Every machine we rent arrives with full root, one public IPv4 address, a fresh operating system and nothing else configured. That is the point of a cheap dedicated server: you get the hardware at a low monthly price and keep every decision. The guides here cover the decisions you meet in the first days and weeks, from the first SSH login to locking down access, moving files between cities and reading error messages that look cryptic at two in the morning.

Which systems do the commands assume?

The nine free images on offer: Ubuntu 24.04 and 22.04, Debian 13 and 12, AlmaLinux 9, Rocky Linux 9, CentOS Stream 9, Proxmox VE 8 and FreeBSD 14. Where commands differ, each guide shows the variant for each family, so a Debian user and a Rocky Linux user can follow the same page. Package names, service names and log locations are checked against current releases, for example the ssh unit on Debian and Ubuntu versus sshd on Enterprise Linux, or socket activation on Ubuntu 24.04.

How are the guides organized?

  • Networking: SSH from first login to hardening, file transfer over SSH, and fixes for refused, reset and denied connections.
  • Files, disks and backups: rsync, archives, formatting drives and building your own mirrors, since RAID is never set up for you.
  • Users and permissions: sudo, groups, file modes and database accounts.
  • Monitoring, processes and logs: CPU, memory, processes and scheduled jobs.

Each guide answers the main question in the first paragraph, then explains the reasoning and the edge cases. Commands use example addresses from the documentation ranges, such as 203.0.113.25, so nothing points at a real host by accident.

Browse the Guides

Networking (19)

Change the SSH port

Move sshd off port 22 on Ubuntu, Debian, Rocky, AlmaLinux and FreeBSD without locking yourself out of the machine.

Read it

SSH vs SSL/TLS

Both encrypt traffic, but SSH runs your admin sessions while TLS protects websites and APIs; here is where each fits.

Read it

Enable SSH on Debian

Install, start and check the OpenSSH server on Debian 13 and Debian 12, then lock it down before exposing the box.

Read it

Fix "Permission denied (publickey)"

Trace a publickey refusal to its real cause: wrong key, wrong user, loose file modes, SELinux labels or an old RSA signature.

Read it

What is SSH?

The protocol behind every remote login to a Linux box: what it protects, where it came from and what you use it for daily.

Read it

Fix "Connection reset by peer"

Find out why sshd hangs up mid-handshake: ban lists, MaxStartups throttling, broken host keys, idle timeouts or MTU trouble.

Read it

SSH root login settings

What each PermitRootLogin value does, how to move daily work to a sudo user and when key-only root login is reasonable.

Read it

Harden SSH on Linux

A practical hardening list for sshd on a fresh dedicated box: keys, users, rate limits, firewall scope and an outside audit.

Read it

SFTP vs SSH

SFTP is a file transfer subsystem that rides inside SSH; learn when to hand someone SFTP only and how to jail them.

Read it

How SSH works

Follow one SSH connection from the TCP handshake through key exchange, host verification and login to channels and forwarding.

Read it

Everyday SSH commands

The SSH toolkit you will actually use on a server: ssh, ssh-keygen, ssh-copy-id, ssh-agent, scp, sftp, ssh-keyscan and tunnels.

Read it

Fix "Connection refused"

Work out why port 22 says no: sshd stopped, wrong port, a firewall reject rule, a loopback-only listener or a machine still installing.

Read it

Rsync over SSH

Copy and mirror folders between machines with rsync over SSH: trailing slashes, dry runs, custom ports, sudo on the far side and bandwidth caps.

Read it

The SSH config file

Turn long ssh command lines into short aliases with ~/.ssh/config: hosts, ports, keys, jump hosts, keepalives and connection sharing.

Read it

Log in with an SSH key

Create an ed25519 key, install it on your machine through the panel or ssh-copy-id, and log in without typing the root password.

Read it

Set up passwordless SSH

Go from a root password to key-only access in one careful pass: user, key, agent, then switch off every password method on the server.

Read it

Telnet vs SSH

Why Telnet is never used for logins anymore, the one job it still does well and the modern tools that replace even that.

Read it

Fix "Access denied for user root@localhost"

Why MySQL or MariaDB refuses root on a fresh server, the socket authentication behind it, and safe ways to log in or reset the password.

Read it

Set a curl user agent

Change or remove the User-Agent header curl sends, test how your own server treats different clients and read agents in your logs.

Read it

Files, disks and backups (7)

Rsync command examples

Twelve rsync patterns for daily admin work: local copies, checksums, partial resumes, size limits, backups of replaced files and safe deletes.

Read it

Back up data with rsync

Build dated, space-saving snapshot backups with rsync and hard links, pull them from a second machine and test restores.

Read it

Exclude files in rsync

Skip caches, logs and build folders with --exclude, --exclude-from and filter rules, and learn how anchored patterns really match.

Read it

Extract .tar.bz2 files

Open .tar.bz2 and .tbz2 archives, list them first, extract single files, and speed up big ones with parallel bzip2 on many cores.

Read it

Create tar.gz archives

Pack folders into tar.gz archives, choose compression levels, use pigz on many cores and compare gzip with zstd and xz.

Read it

Extract .tar.gz files

Unpack tar.gz and .tgz archives from the command line: target folders, single files, stripped paths, ownership and safe handling of unknown archives.

Read it

The tar command

A working reference for tar: modes, compression flags, appending, comparing, incremental backups and the options people forget.

Read it

Monitoring, processes and logs (3)

Cron expressions

Read and write the five cron fields, steps, ranges, lists and shortcuts, plus the day-of-month and weekday trap that surprises everyone.

Read it

Set up a cron job

Create a cron job that actually runs: crontab -e, full paths, environment, logging, locking against overlap and mail-free alerts.

Read it

List all cron jobs

Find every scheduled job on a machine: user crontabs, system files, cron.d, periodic folders, anacron and systemd timers.

Read it

Users and permissions (15)

The chmod command

Change file modes with numbers or letters, understand what each bit does and use special bits like setgid and sticky correctly.

Read it

chmod 755 explained

What mode 755 grants, where it belongs on a server, where it does not, and how it compares with 750, 775 and 644.

Read it

chmod recursively

Change permissions across whole folder trees without breaking them: chmod -R, the capital X trick and find for files versus folders.

Read it

chown recursively

Change owners across a folder tree with chown -R, choose how symlinks are handled and limit changes to files owned by one account.

Read it

The chown command

Every useful form of chown: owner, group, both, numeric IDs, reference files and the rules about who may change ownership.

Read it

Linux file permissions

Read ls -l output, understand owner, group and other bits, umask defaults, ACLs and why root and SELinux sit on top of it all.

Read it

Create a sudo user on Debian

Add an admin account on Debian 13 or 12, give it sudo rights, install your SSH key and retire daily root logins safely.

Read it

The sudo command

How sudo decides who may run what, the flags you use daily, safe sudoers rules, logging and the habits that keep root powers contained.

Read it

sudo vs su

Two ways to act as root: su switches accounts with the target password, sudo grants logged, per-command rights with yours.

Read it

sudo apt update

What apt update really refreshes, how it differs from upgrade and full-upgrade, and how to fix lock, clock and repository errors.

Read it

Sudo user on CentOS Stream, Rocky, Alma

Create an admin account in the wheel group on CentOS Stream 9, Rocky Linux 9 or AlmaLinux 9, with SSH keys and SELinux-friendly steps.

Read it

sudo rm -rf, carefully

What sudo rm -rf does, the guardrails that exist, the ones that do not, and habits that make deletes recoverable or impossible to misfire.

Read it

Linux user management

The full life of an account on a server: create, group, change, expire, lock, audit and delete, with the files behind each step.

Read it

MariaDB users and grants

Create MariaDB accounts with the least privilege they need, choose host patterns, add roles, require TLS and check grants.

Read it

Create a Linux user

Create human and service accounts with useradd: home folders, shells, UIDs, groups, expiry, skeleton files and system accounts.

Read it

What should I read first on a new machine?

Start with access, because everything else depends on it. Log in with the root password from the panel or with a key you saved there before ordering, then follow Log in with an SSH key and Set up passwordless SSH to move to key-only logins under a personal user. After that, Harden SSH on Linux turns a fresh box into a quiet one. These three take about half an hour together and prevent most of the trouble people run into later.

Why do the guides keep warning about lockouts?

Because the offer has no out-of-band console. If a firewall rule or an SSH setting blocks every login, the way back is a reinstall from the panel, which wipes the drives and installs a clean image with a new root password. The guides therefore always open the new path before closing the old one, test from a second terminal and validate configuration before restarting services. Treat that habit as part of the price advantage: you skip paying for remote hands, so you avoid needing them.

Do the guides match what the machines include?

Yes. They never assume extras that are not sold. Each machine has one IPv4 address on a /31, no IPv6, no private network between machines and no extra addresses, so the guides show how to run many services behind one address, how to replicate over encrypted public links and how to plan around 15 TB of outgoing traffic a month (5 TB in Singapore). Where a task depends on hardware, the guide names real models from the catalog with their live prices.

Missing a topic? Open a ticket in the panel and tell us which task you are stuck on; new guides follow the questions customers actually ask.

FAQ

Quick Answers

The commands work on any current Linux or FreeBSD system. Notes about the panel, reinstalls, IP addresses and traffic apply to our machines.

They cover the nine images we install, with commands for Ubuntu, Debian, the Enterprise Linux family and FreeBSD where they differ.

The first SSH guides are worth reading for everyone. Machines arrive with a bare operating system and no management, so a few basic steps keep them safe.

We do not run machines on your behalf. You get full root and these guides, and the ticket desk can answer questions about the machine and the panel.

They are reviewed when new releases of the images change commands, service names or defaults.