How Do I Use a Private Key to Obtain the Password to Log In to a Windows ECS?
Scenario
A password is required when you log in to a Windows ECS. First, you must obtain the administrator password (password of account Administrator or another account set in Cloudbase-Init) generated during the initial installation of the ECS from the private key file downloaded when you create the ECS. This password is randomly generated, offering high security.
You can obtain the password for logging in to a Windows ECS through the management console
- After obtaining the initial password, you are advised to clear the password information recorded in the system to increase system security.
Clearing the initial password information does not affect ECS operation or login. Once cleared, the password cannot be retrieved. Before deleting a password, you are advised to record it. For details, see Elastic Cloud Server User Guide.
- You can also call the API to obtain the initial password of the Windows ECS. For details, see the Elastic Cloud Server API Reference.
Prerequisites
You have obtained the private key file (in the .pem format) for logging in to the ECS.
Obtaining a Password
- Log in to the management console.
- Click in the upper left corner of the management console and select a region or project.
- Click and choose .
- In the ECS list, select the ECS whose password you want to get.
- In the Operation column, click More and choose Get Password.
- Use either of the following methods to obtain the password:
- Click Select File and upload the key file from a local directory.
- Copy the key file content to the text field.
- Click Get Password to obtain a new random password.
KPS Related FAQs
- How Do I Create a Key Pair?
- What Are a Private Key Pair and an Account Key Pair?
- How Do I Handle an Import Failure of a Key Pair Created Using PuTTYgen?
- What Should I Do When I Fail to Import a Key Pair Using Internet Explorer 9?
- How Do I Log In to a Linux ECS with a Private Key?
- How Do I Use a Private Key to Obtain the Password to Log In to a Windows ECS?
- How Do I Handle the Failure in Binding a Key Pair?
- How Do I Handle the Failure in Replacing a Key Pair?
- How Do I Handle the Failure in Resetting a Key Pair?
- How Do I Handle the Failure in Unbinding a Key Pair?
- Do I Need to Restart Servers After Replacing Its Key Pair?
- How Do I Enable the Password Login Mode for an ECS?
- How Do I Handle the Failure in Logging In to ECS After Unbinding the Key Pair?
- What Should I Do If My Private Key Is Lost?
- How Do I Convert the Format of a Private Key File?
- Can I Change the Key Pair of a Server?
- Can a Key Pair Be Shared by Multiple Users?
- How Do I Obtain the Public or Private Key File of a Key Pair?
- What Can I Do If an Error Is Reported When an Account Key Is Created or Upgraded for the First Time?
- Will the Account Key Pair Quota Be Occupied After a Private Key Pair Is Upgraded to an Account Key Pair?
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.
Chatbotmore