DewaVPS

Add SSH Key

Adding an SSH key allows you to securely access your DewaVPS instances without using passwords.

Prerequisites

Before adding an SSH key, you need to generate one on your local machine:

# Generate a new ED25519 SSH key (recommended)
ssh-keygen -t ed25519 -C "your_email@example.com"

# Or generate an RSA key (if ED25519 is not supported)
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

Press Enter to accept the default file location, then copy your public key:

cat ~/.ssh/id_ed25519.pub
# or: cat ~/.ssh/id_rsa.pub

Steps to Add an SSH Key

  1. Log in to your DewaVPS control panel.

  2. Navigate to Key ManagementSSH Keys section.

    SSH Keys List

  3. Click the Create button.

    Create SSH Key Form

  4. Enter a descriptive name for the key (e.g., My Laptop).

  5. Paste your public SSH key into the Keys field.

    Filled SSH Key Form

  6. Click Submit to register the key.

Your SSH key is now ready to be used for secure login to your instances. You can expand the key entry to view its details:

SSH Key Expanded

On this page