How to Configure an SSH Key on an Existing Server

In this tutorial, you will learn how to configure an SSH on a new server during the server setup process. We will review how to configure SSH access to the server, how to create keys and how to configure a private key on the client machine.

An SSH connection allows a device to establish an encrypted connection to a remote server through port 22. This makes it possible to manage the server remotes through the command prompt. This tutorial will explain how to configure an SSH connection for remote server administration.

How to configure an SSH key on an existing server?

Before you begin​:

To successfully complete this tutorial, you will need:

Step 1. Open the SSH Keys section on the Servers subscription page

From the main dashboard, click on the top of the Servers card (1).

Step 1. Open your Servers subscription page

Step 1. Open your Servers subscription page

Click on the SSH Keys section (2) on the left-hand menu.

Step 1. Open the SSH Keys page

Step 1. Open the SSH Keys page

Next, click on Create SSH Key (3).

Step 1. Create SSH Key

Step 1. Create SSH Key

Step 2. Create an SSH Key​

On the next page, you will first need to give your new SSH key a name (4). Then, select Generate a New Key (5), choose the server to activate the key on (6) and clickContinue (7).

Step 2. Register the SSH key

Step 2. Register the SSH key

A window will then appear informing you that activating the SSH key will require the server to be restarted and generate a new password. Click on Confirm (8).

Step 2. SSH activation warning window

Step 2. SSH activation warning window

At this point, the server will restart and generate SSH keys and a new password.
A few moments later, another window will appear displaying the private key. You should copy and save this key as you will not be able to see it again later. Once you have saved the key, click on Confirm (9).

Step 2. SSH Private Key

Step 2. SSH Private Key

Next, another window will appear with a new generated password. Copy and save this password and click on Confirm (10).

Step 2. SSH access key

Step 2. SSH access key

Summary and next steps​:

By creating an SSH key on an existing server, you allow yourself the option to establish an SSH connection to the server. In this tutorial, you have learnt the few simple steps to create an SSH key when creating a new server.
If you have found this tutorial useful, you might want to find out more about the features and functionalities of our Servers service. If so, the following tutorials may be of interest to you:
We hope that this tutorial has helped you to successfully configure an SSH key on your existing server. If you still have questions or wish to talk about any technical matters, you can write to us at platform@jotelulu.com and we will be happy to help.

Categorias:Servers