Help Center/ SAP Cloud/ SAP HANA User Guide (Single Node)/ Appendix/ Obtaining the Key File of an ECS
Updated on 2022-03-04 GMT+08:00

Obtaining the Key File of an ECS

After a key pair is created for an ECS, the browser prompts you to download or automatically downloads the private key file. Keep the private key file secure. When logging in to the ECS using SSH, you need to provide the private key.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. In the navigation plane on the left, click and choose Computing > Elastic Cloud Server.
  4. In the navigation pane on the left, choose Key Pair.
  5. On the right side of the page, click Create Key Pair.
  6. Enter the key name and click OK.

    An automatically allocated key name consists of KeyPair- and a 4-digit random number. Change it to an easy-to-remember one, for example, KeyPair-xxxx_ecs.

    Download the private key file. Alternatively, the system will automatically download it for you. The file name is the specified key pair name with a suffix .pem. Securely store the private key file. In the displayed dialog box, click OK.

    This is the only opportunity for you to save the private key file. Keep it secure. When creating an ECS, provide the name of your desired key pair. Each time you log in to the ECS using SSH, provide the private key.

  7. (Optional) To keep your private key file secure, you can enable Data Encryption Workshop (DEW). Then, you can manage key pairs, including binding, viewing, resetting, replacing, unbinding, and deleting key pairs. For details, see Managing Key Pairs.

    Example:

    • If a private key file is lost, you can reset the key pair of the ECS.
    • If a private key file is leaked, you can use a new key pair to replace the original one of the ECS.