Skip to main content

How to Connect to Ubuntu/Linux via SSH

Connect to a Linux VPS with SSH from Windows (PuTTY) or the Mac/Linux terminal: credentials, first login, and security tips.

You can connect to a Linux-based VPS using SSH (Secure Shell), which provides secure command-line access to your server without the need for a graphical interface.

Prefer to watch? Our 1-minute video shows the whole connection, from the dashboard to the root@ prompt: watch "How to connect to your Linux VPS".

Note: Most QuantVPS services are provisioned with Windows Server 2022 by default. However, you can reinstall between operating systems (e.g., switching from Windows to Ubuntu or vice versa) at any time from your user dashboard. To install Ubuntu, go to Control Panel → Server Controls → Reinstall OS → Standard OS, then choose the Ubuntu version. Please note that this is a fresh installation. Reinstalling erases the server: all existing data will be lost unless you back up your files and manually restore them after the reinstall.

This article is intended for QuantVPS users running Ubuntu 20.04, 22.04, or 24.04. It does not apply to VPS instances running Windows Server.

This method is commonly used by developers and advanced users who are managing Linux-based servers, running API services, or performing remote automation, and do not require the graphical interface that Windows typically provides.

Ubuntu 24.04 selected in the QuantVPS reinstall dialog

Windows Option 1: Using Command Prompt or PowerShell

  1. Open Command Prompt or PowerShell

  2. Run the following command (replace with your server's IP address):

    ssh root@your.server.ip.address
  3. If this is the first time you're connecting to this server, you'll see a message saying the authenticity of the host can't be established, asking if you want to continue connecting. This is expected: type yes and press Enter to continue.

  4. When prompted, enter your password

Not working? Even if your QuantVPS dashboard displays the default username as Administrator, that applies only to Windows-based servers. For Ubuntu/Linux servers, your SSH username is: "root"


Windows Option 2: Using PuTTY (Graphical Interface)

  1. Download and install PuTTY

  2. Open PuTTY and enter your server IP in the "Host Name" field

  3. Set Port to 22 and connection type to SSH

  4. Click Open

  5. When prompted, login as: root

  6. Enter your password


On macOS or Linux:

  1. Open Terminal

  2. Run the following command:

    ssh root@your.server.ip.address
  3. If it's your first time connecting, you may see the same host authenticity prompt described above: type yes to continue.

  4. Type your password when prompted


Recommended: Use SSH Key Authentication

Instead of logging in with the root password, we recommend setting up SSH key authentication where possible. SSH keys are significantly more secure than passwords; they're effectively immune to brute-force login attempts, since there's no password for an attacker to guess.


Need Assistance?

Our support team is available 24/7. If you have any questions or run into issues, open a support ticket from your QuantVPS dashboard and we'll get back to you as quickly as possible.

Did this answer your question?