Help Center> Elastic Cloud Server> User Guide> Passwords and Key Pairs> Key Pairs> (Recommended) Creating a Key Pair on the Management Console
Updated on 2024-05-14 GMT+08:00

(Recommended) Creating a Key Pair on the Management Console

Scenarios

You can use the management console to create a key pair. ECS stores the public key and you store the private key.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Click . Under Compute, click Elastic Cloud Server.
  4. In the navigation pane on the left, choose Key Pair.
  5. On the displayed page, click Create Key Pair.
  6. Enter a key pair name.

    A key pair name consists of two parts: KeyPair and four random digits (KeyPair-xxxx).

  7. Click OK.
  8. Manually or automatically download a .pem private key file with the name that you specify as the key name. Store it in a secure place and click OK.

    This is the only chance for you to save the private key file. Keep it secure. You'll need to provide the key pair name when you create an ECS, and the corresponding private key each time you connect to the ECS through SSH.