NEW Upgrade of Our Game Servers See News

Add SSH key to VPS
Image zoomed

Tip: Adding SSH keys enhances security and simplifies logging into your server without using passwords.

Step-by-Step Guide

Step 1: Generate an SSH Key

  1. Open a terminal on your computer.

  2. Run the following command to generate an SSH key:

    ssh-keygen -t rsa -b 4096 -C "[email protected]"
  3. Follow the instructions and save the key in the default location (usually ~/.ssh/id_rsa).

  4. Copy the contents of the public key:

    cat ~/.ssh/id_rsa.pub

Step 2: Log in to the Game Panel

  1. Go to the VPS Panel and log in with your credentials.

  2. Select the server where you want to add an SSH key.

Step 3: Add Your SSH Key

  1. Navigate to the "SSH Keys" menu in the left sidebar.

  2. In the "Name" field, enter a recognizable name for the key (e.g., "My Laptop SSH Key").

  3. Paste the public key (the one you copied earlier) into the "SSH Key" field.

  4. Click "Add" to save the key.

Step 4: Confirm the Addition

  1. Ensure the new SSH key is now listed among the already added keys.

Note: Keep your SSH keys secure. If a key is compromised, remove it from the panel immediately.

Step 5: Test Access

  1. Open a terminal and run the command:

    ssh username@IP-address

    Replace username and IP-address with your server details as shown in the game panel overview.

  2. You should now be able to log in without entering a password.

CTA: Want to simplify server management? Check out our VPS hosting for a secure and fast solution.