In this tutorial
- Where do the address and root password live?
- How do you open the connection from your own computer?
- What should you check in the first minute?
- How do you bring every package up to date?
- Should you change the root password right away?
- How do you add a daily user with sudo rights?
- Which small settings are worth fixing now?
- What if SSH refuses or times out?
Where do the address and root password live?
Everything you need for the first login sits on the Overview tab of the instance. Open Instances in the console, click the server you just deployed, and you will see three things at the top: the public IPv4 address, the IPv6 address and the root password generated for this install. Copy the password with the copy button rather than retyping it, because it mixes upper case, lower case and digits.
This guide uses 198.51.100.24 as the example address. Replace it with your own wherever it appears. If you added an SSH key on the Deploy screen, that key is already in /root/.ssh/authorized_keys and you can skip the password entirely.
A fresh deploy needs a minute or two after the status turns to running before the SSH daemon answers. The billing term starts when the server is ready, not when you paid, so there is no reason to rush the first connection.
How do you open the connection from your own computer?
Use the OpenSSH client that ships with Linux, macOS and current Windows. On Windows 10 and 11 open PowerShell or Windows Terminal; the ssh command is already there. On Linux or macOS open any terminal.
ssh root@198.51.100.24On a first connection SSH shows the fingerprint of the server key and waits for you to accept it. Type yes. The key is saved in ~/.ssh/known_hosts on your machine and checked on every later visit. Then paste the root password; nothing appears while you paste, which is normal.
To reach the server over IPv6 instead, pass the IPv6 address from Overview; no brackets are needed on the ssh command line:
ssh root@2001:db8:4f2a::24If your home network has no IPv6 route, that command times out, so stick with IPv4 until you know the path works.
What should you check in the first minute?
Confirm that you landed on the right box and that it matches the plan you paid for. Four short commands tell you the release, the addresses, the disk and the memory:
cat /etc/os-release
ip -brief address
df -h /
free -h
nprocThe release line should name the image you picked on the Deploy screen, for example Ubuntu 24.04 or Debian 12. ip -brief address lists the public IPv4 and the IPv6 on the main interface. df -h / shows the root disk, and nproc prints the vCPU count. If anything looks off, such as fewer cores than the plan lists, open a support ticket from the console before you build on top of it.
How do you bring every package up to date?
Run a full upgrade before installing anything else, because images are built ahead of time and security fixes land daily. On Ubuntu and Debian:
apt-get update
apt-get -y full-upgrade
apt-get -y autoremoveOn AlmaLinux, Rocky Linux, CentOS Stream or Fedora the equivalent is dnf -y upgrade. On Alpine use apk update && apk upgrade, and on FreeBSD use freebsd-update fetch install followed by pkg upgrade.
When the upgrade pulled in a new kernel, reboot so it takes effect:
[ -f /var/run/reboot-required ] && rebootYour session drops, the instance comes back in under a minute, and you log in again exactly as before.
Should you change the root password right away?
Yes. The password on the Overview tab is a starting credential, and anyone who later sees your console session can read it. Set your own with passwd, store it in your password manager, and treat the console value as stale from then on.
passwdThe console does not learn the new value. If you ever reinstall the instance, a fresh root password is generated and shown on Overview again. Since there is no browser console for out-of-band access, losing every login path means reinstalling, so keep the new password somewhere safe before you log out.
How do you add a daily user with sudo rights?
Create a normal account for routine work and keep root for emergencies. On Ubuntu and Debian the admin group is sudo; on the RHEL family it is wheel.
adduser deploy
usermod -aG sudo deploy # Ubuntu, Debian
# usermod -aG wheel deploy # AlmaLinux, Rocky, FedoraOpen a second terminal on your computer and test the account before closing the root session:
ssh deploy@198.51.100.24
sudo -v && echo "sudo works"When that prints the line, the account is ready. The rest of the tutorials on this site assume a user like this and prefix admin commands with sudo.
Which small settings are worth fixing now?
Set the hostname, the time zone and a swap file in one pass so logs and alerts read clearly later.
sudo hostnamectl set-hostname node1.example.net
sudo timedatectl set-timezone UTC
sudo fallocate -l 1G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile && sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstabUTC keeps cron jobs and log stamps consistent across cities if you later run instances on several continents. The label you see in the console is separate from the hostname; change the label on the Settings tab whenever you like, it never touches the server itself.
What if SSH refuses or times out?
Most first-login failures come from timing, a typo in the address or a stale host key. Work through them in this order:
- Connection timed out: check that the instance list shows it as running. If it was just deployed, wait two minutes. If it stays unreachable, use the restart action once.
- Connection refused: the machine answers but SSH is not up yet, or a firewall you set blocks port 22.
- Permission denied: the password was mistyped. Copy it again from Overview; watch for a trailing space.
- Host key changed warning: expected after a reinstall. Remove the old key with
ssh-keygen -R 198.51.100.24and connect again.
For verbose output that shows which step fails, run ssh -v root@198.51.100.24. If none of this helps, open a support ticket and paste that output.
Questions about this tutorial
Is SSH enabled on every image?
Yes. All 18 images boot with an OpenSSH server listening on port 22, including FreeBSD, Alpine and the six app images built on Ubuntu 24.04.
Can I log in through the browser instead?
No. There is no web or VNC console, so SSH is the way in. Keep at least one working login method at all times, as covered in the SSH hardening tutorial.
I lost the root password I set. What now?
If you still have a key or a sudo user, reset it with passwd. With no login left, reinstalling from the Settings tab creates a new root password, but it also erases the disk.
Do I need a separate SSH client on Windows?
Not on Windows 10 or 11, where OpenSSH is built in and runs from PowerShell. Older versions can use any SSH client you trust.
Does the hostname I set change the console label?
No. The hostname lives inside the operating system and the label lives in the console; change each independently.
When does my paid term start counting?
The term begins when the instance is ready, so time spent waiting for confirmations is not taken from it.