Help Center> Data Encryption Workshop> FAQs> KPS Related> How Do I Handle the Failure in Logging In to ECS After Unbinding the Key Pair?
Updated on 2023-01-31 GMT+08:00

How Do I Handle the Failure in Logging In to ECS After Unbinding the Key Pair?

Symptom

  • When the login mode for an ECS is the key pair but the initial key pair has been unbound, there is no password or key pair available for logging in to the ECS. What can I do?
  • When I bind a key pair to an ECS on the KPS 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 use the password to log in to the ECS. 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:

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Click . Choose Security & Compliance > Data Encryption Workshop.
  4. Click ECS List to view ECSs. For details, see Figure 1.

    Figure 1 ECS list

  5. Click the name of the target ECS. The ECS details page is displayed.
  6. Click Shut Down in the upper right corner of the page to shut down the ECS.
  7. Return to the ECS list page by referring to step Step 5.
  8. Click Bind in the row of the target ECS. The Bind Key Pair dialog box is displayed.
  9. Select a new key pair from the drop-down list box of New Key Pair.

    Figure 2 Binding a key pair

  10. 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?.

  11. Select I have read and agree to the Key Pair Service Disclaimer.
  12. Click OK. The key pair is bound. After the binding is complete, you can use the key pair to log in to the ECS.

KPS Related FAQs

more