How Do I Handle the Failure in Logging In to ECS After Unbinding the Key Pair?
Symptom
- If the login mode is set to Key Pair when purchasing an ECS, after I unbind the initial password, I do not have the password or key pair to log in to the ECS. How can I solve this problem?
- When I bind a key pair to the ECS on the KPS management console, I disabled the password login mode. After the key pair is unbound, I have no password and key pair to log in to the ECS. How can I solve this problem?
Procedure
Method 1: resetting the password
Reset the password on the ECS console and log in to the ECS using the password. For details, see Elastic Cloud Server User Guide.
Method 2: resetting the key pair
Shut down the ECS, bind the key pair to the ECS on the KPS console, and use the key pair to log in to the ECS. The procedure is as follows:
- Log in to the management console.
- Click
in the upper left corner of the management console and select a region or project.
- Click
. Choose .
- Click ECS List to view ECSs. For details, see Figure 1.
- Click the target ECS name to go to the details page.
- Click Shut Down in the upper right corner of the page.
- Return to the ECS list page by referring to step Step 5.
- Locate the target ECS and click Bind.
- Select a new key pair from the drop-down list box of New Key Pair.
Figure 2 Binding a key pair
- You can choose whether to disable the password login mode as necessary. By default, the password login mode is disabled.
- If you do not disable the password login mode, you can use the password or the key pair to log in to the ECS.
- If the password login mode is disabled, you can use only the key pair to log in to the ECS. If you need to use the password login mode later, you can enable the password login mode again. For details, see How Do I Enable the Password Login Mode for an ECS?.
- Read and select I have read and agree to the Key Pair Service Disclaimer.
- Click OK. The key pair is bound. You can use the key pair to log in to the ECS.
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