Updated on 2024-10-18 GMT+08:00

Importing a Key Pair

Scenarios

You need to import a key pair in either of the following scenarios:

  • Create a key pair using PuTTYgen and import the public key to the ECS.

Procedure

  1. Log in to the management console.
  2. Click . Under Compute, click Elastic Cloud Server.
  3. In the navigation pane on the left, choose Key Pair.
  4. On the Key Pair Service page, click Import Key Pair.
    Figure 1 Importing a key pair
  5. In the displayed Import Key Pair dialog box, import the public and private key content.

    Click Select File to import the local public key file (for example, the .txt file saved in 3 in Creating a Key Pair Using PuTTY Key Generator).

    For details about how to configure parameters, see Importing a Key Pair.
    Figure 2 Configuring parameters
  6. Click OK.