All Products
Search
Document Center

Elastic Compute Service:Delete an SSH key pair

Last Updated:Nov 21, 2023

You can delete the SSH key pairs that are no longer needed. Deleted key pairs cannot be restored.

Prerequisites

The SSH key pairs that you want to delete are not bound to Elastic Compute Service (ECS) instances. For information about how to unbind an SSH key pair from an ECS instance, see Unbind an SSH key pair.

Procedure

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Network & Security > SSH Key Pairs.

  3. In the upper-left corner of the top navigation bar, select a region. 地域

  4. Find the key pair that you want to delete. In the Actions column, click Delete.

    Note

    You can also select multiple key pairs and click Delete in the lower part of the page.

  5. In the Delete SSH Key Pair message, check the key pair information.

  6. After you confirm that the key pair information is correct, click OK.