Connecting to Your Linux Server via SSH

This guide provides step-by-step instructions to connect to your Ubuntu-based VPS using SSH. Follow the steps below to get connected.


Before You Begin

  1. Check Your Login Details
    After purchasing your VPS, you should receive an email with your server’s IP address, username, and password. You can also access these details by reinstalling the operating system via the panel.

  2. Install an SSH Client

    • Windows:  For Windows users, in addition to using PuTTY., you can connect to your Ubuntu VPS directly from the Command Prompt (CMD) using Windows' built-in SSH client. Follow the steps below.
    • macOS & Linux: You can use the Terminal app. SSH is pre-installed on most macOS and Linux systems.

Connecting to Your Linux VPS via SSH 

Steps to Connect via Command Prompt / terminal

  1. Open Command Prompt

    • Press Win + R, type cmd, and press Enter to open Command Prompt.
    • On macOS & Linux: Open Terminal.
  2. Use the SSH Command

    • In Command Prompt, type the following command, replacing <server-ip> with your VPS IP address:
      ssh root@<server-ip>
    • Press Enter.
  3. Verify Connection

    • The first time you connect, you may be asked to confirm the server’s authenticity. Type yes and press Enter.
  4. Enter Your Password

    • When prompted, enter the password provided in your welcome email. (Note: You won’t see any characters as you type for security reasons.) Press Enter once you’ve entered the password.
  5. Connection Successful

    • You should now see the Ubuntu command line interface on your VPS, indicating a successful connection.

Steps to Connect to Your VPS using PuTTY 

  1. Open Your SSH Client

    • Windows: Launch PuTTY.
  2. Enter Server IP Address

    • In PuTTY, type your server's IP address in the "Host Name (or IP address)" box.
  3. Click Open and accept the rsa-key fingerprint
  4. Enter Username

    • For Ubuntu VPS, the default username is usually root unless specified otherwise in your welcome email.
  5. Enter Password

    • PuTTY: When prompted, enter your password from the welcome email.
  6. Successful Connection

    • If everything is correct, you should now see the command line interface of your Ubuntu server.

Troubleshooting

Problem: "Permission Denied" or "Authentication Failed"

  • Solution: Verify that you entered the username as "root" and that the password is correctly typed, without any extra spaces. You may also try copying the password from your email again.

Problem: "Connection Timed Out"

  • Solution: Check if your VPS is running and ensure that SSH is enabled. If the issue persists, contact support for assistance.
Var dette svaret til hjelp? 1 brukere syntes dette svaret var til hjelp (1 Stemmer)