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
- Log in to the management console.
- Click in the upper left corner and select a region and project.
- In the navigation plane on the left, click and choose .
- In the navigation pane on the left, choose Key Pair.
- On the right side of the page, click Create Key Pair.
- 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.
- (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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot