Skip to main content

Connect to Instance

Once your DewaVPS Instance is created and running, you can connect to it to manage it, install software, and host your applications. There are typically two primary ways to connect: using SSH (Secure Shell) for command-line access, or using a web-based VNC console provided through the DewaVPS control panel.

To connect, you will generally need:

  1. Instance IP Address: Found in the DewaVPS control panel after the Instance is created.
  2. Username: The user you want to log in as (e.g., root, ubuntu, or another user you created). The default user often depends on the OS image chosen during creation.
  3. Authentication Method: Either the password you set during creation or an SSH key you associated with the Instance.

Connecting via SSH

SSH provides a secure command-line interface to your Instance. This is the most common method for managing Linux servers.

Prerequisites:

  • An SSH client program.
    • Linux/macOS/Windows (WSL or modern versions): The ssh command is usually built into the terminal.
    • Windows (older versions): You might use a client like PuTTY.
  • Your Instance's IP address.
  • The correct username for your Instance.
  • Your password or SSH private key.

Steps (using terminal):

  1. Open your terminal application (Terminal on macOS/Linux, PowerShell or Command Prompt on Windows, or PuTTY).
  2. Use the ssh command in the following format:
    ssh username@your_instance_ip_address
    • Replace username with the appropriate login user (e.g., root).
    • Replace your_instance_ip_address with the actual Public IP address of your DewaVPS Instance.
  3. Press Enter.
  4. First Connection: If this is the first time connecting to this Instance from your computer, you'll likely see a message about the host's authenticity and its key fingerprint. Example:
    The authenticity of host '192.0.2.1 (192.0.2.1)' can't be established.
    ECDSA key fingerprint is SHA256:AbCdEfGhIjKlMnOpQrStUvWxYzABCDEFGHIJKLMN.
    Are you sure you want to continue connecting (yes/no/[fingerprint])?
    Verify the fingerprint if possible, then type yes and press Enter to add the Instance to your list of known hosts.
  5. Authentication:
    • Password: If you're using password authentication, you will be prompted to enter the password you set for the user during Instance creation. Type the password (characters may not appear on screen for security) and press Enter.
    • SSH Key: If you associated an SSH key with the Instance and your local private key is correctly configured, you should be logged in automatically. If your private key is protected by a passphrase, you will be prompted to enter it.

Once authenticated, you will see the command-line prompt for your DewaVPS Instance.