TABI CLOUD
VPS

First steps on a new Linux VPS: SSH, updates, user and keys

6 min read · Updated October 2026 · By Tabi Cloud

A fresh VPS is only as safe as the first ten minutes you spend on it. This checklist uses Ubuntu or Debian style commands. They can differ on other distributions, so verify them for yours.

1. Log in with SSH

Use the IP address and login details from your order. From a terminal on Windows, macOS or Linux:

  1. ssh root@YOUR_SERVER_IP
  2. Type yes to accept the host fingerprint the first time
  3. Enter the password you were given

2. Update packages

  1. apt update
  2. apt upgrade -y
  3. reboot if the kernel was updated

3. Create a non-root user

Working as root all day is risky, so make a normal user with sudo rights.

  1. adduser deploy
  2. usermod -aG sudo deploy
  3. su - deploy and test sudo whoami, which should print root

4. Set up SSH keys

Do this on your own computer, not the server.

  1. ssh-keygen -t ed25519
  2. ssh-copy-id deploy@YOUR_SERVER_IP
  3. ssh deploy@YOUR_SERVER_IP and confirm you get in without a password

If ssh-copy-id is not available, paste the contents of your .pub file into ~/.ssh/authorized_keys on the server.

5. Check the basics

Common mistakes

What next

Once keys work, move on to our guide on securing a VPS, where you turn on a firewall, add fail2ban and disable password login.

If you get stuck, send a ticket on our Discord or email support and we will help you get connected.

Want your own server? Join our Discord and tell us the game. We set it up and send you the details. Need help with an error from this guide? Open a ticket there.

GET STARTED ON DISCORD

More guides

VPSWhat is a VPS and how is it different from shared hosting?VPSHow to choose a VPS plan: vCPU, RAM and diskVPSHow to secure a VPS: UFW, fail2ban and key-only SSH