Opening checkout

2 min read

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.

QuantVPS SupportUpdated

How to Connect to Ubuntu/Linux via SSH
On this page
  1. Windows Option 1: Using Command Prompt or PowerShell
  2. Windows Option 2: Using PuTTY (Graphical Interface)
  3. On macOS or Linux:
  4. Recommended: Use SSH Key Authentication
  5. Need Assistance?

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".

Ubuntu 24.04 selected in the QuantVPS reinstall dialog
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

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.

Still need help? Our team answers 24/7.