Elastic Cloud Server

Unbind the key pair from the cloud server

2025-11-25 07:15:19

Scenario

Unbinding key pair applies to unbinding a key pair that is already bound to the cloud server.

After unbinding, the original key pair will not be able to log in to the cloud server. If you need to log in to the cloud server again, you need to bind a new key pair or log in with a password.

Limitations

This feature is only applicable to Linux OS and not to Windows OS.

This feature is only available to cloud servers with the status of Running.

If you are using a private image that does not have qga installed (usually the image uploaded by the user does not have qga), this feature will not work.

Procedure

There are two methods for unbinding key pairs.

Method 1: Unbinding key pair via the cloud server console, this method only applies to the single cloud server.

1. Log in to the control center and enter the ECS console;

2. Select a Linux cloud server that is Running and click More in the Action column;

3. Click Unbind Key Pair;

4. When prompted, click OK to unbind.

Method 2: Unbinding key pair via the SSH key pair console, this method applies to multiple cloud servers in batch.

1. Log in to the control center and enter the ECS console, click SSH Key Pair in the left navigation bar to enter the SSH key pair list page;

2. Select an SSH key pair and click Unbind Key Pair in the Action column to bring up the Unbind Key Pair interface;

3. This interface displays the cloud servers that have been bound to the key pair. Select the cloud server from which the key pair needs to be unbound, and multiple selections are available;

4. Click OK to complete the unbind.

          

Note            

When unbinding key pairs in batches, please do not select the cloud server that is not in Running state, otherwise the unbinding will fail.           

             

Xp1nUEoTS6UC