Enzonic VPS
Cyber Monday: 40% off your first 2 months on VPS plans.Ends in 1d 3hSee deal prices
Guides · 8 min read

First steps on a new VPS: connect, update and create a user

Connect over SSH through the shared IPv4 port or IPv6, install updates and add a sudo user on a fresh Enzonic VPS.

Your VPS is ready when the panel shows it as Running. The Network tab lists its shared IPv4 address with its SSH port, its own IPv6 address, and the other 19 ports forwarded to it.

  1. 1Connect over SSH

    Use the SSH port from the panel with the shared IPv4 address, or connect straight to your IPv6 address on port 22. The default user depends on the image (debian, ubuntu, almalinux or rocky).

    ssh -p 30020 debian@203.0.113.10
    # or over IPv6
    ssh debian@2001:db8:5b5f:1::1000
  2. 2Install updates

    Refresh the package lists and install pending updates. On AlmaLinux and Rocky Linux use dnf instead.

    sudo apt update && sudo apt full-upgrade -y
    # AlmaLinux / Rocky Linux
    sudo dnf upgrade -y
  3. 3Turn on automatic security updates

    unattended-upgrades installs security fixes every day without you logging in.

    sudo apt install -y unattended-upgrades
    sudo dpkg-reconfigure -plow unattended-upgrades
  4. 4Create your own sudo user

    Work as a named user instead of the image default, and copy your SSH key to it.

    sudo adduser alex
    sudo usermod -aG sudo alex
    sudo rsync -a --chown=alex:alex ~/.ssh /home/alex/
  5. 5Set the hostname and time zone

    A clear hostname helps in logs and prompts. The panel can also set the hostname for you.

    sudo hostnamectl set-hostname web-01
    sudo timedatectl set-timezone Europe/Berlin

Next, lock down SSH with keys only and add a firewall. If you ever lock yourself out, the browser console and rescue mode in the panel work without SSH.

Your VPS is a few clicks away

Create it in the VPS panel with your Enzonic account. Refunds within 72 hours of payment.

Deploy a VPS