Skip to main content

User Guide

Changing SSH Keypair

Last updated: May 15, 2024, 17:15:02
Operation scenario
Perform "bind instance" or "unbind instance" operations on SSH keys in the cloud server console.
For more information about key pairs, please see Key Pairs.
Prerequisites
Only instances in the "shut down" state support binding or unbinding key operations.
If the instance is not in the shut down state, please see Shut Down Instances and perform the shut down operation.
If there is no key pair yet, please see Key Pairs and create a new key pair.
Operation steps
Bind key pair
Log in to the cloud server console.
In the left navigation tree, select "Servers" to jump to the cloud server list page.
Operate according to the view mode actually used. For more view information, please see View Instance Information.
List view: In the operation column on the right side of the row where the instance to be operated is located, select "More > Password/Key Pair > Bind Key Pair".
Detail view: On the page of the instance to be operated, click "All Operations > Password/Key Pair > Bind Key Pair" in the upper right corner.
In the pop-up window, select the key pair to be bound and click "OK". The binding operation is completed.
Unbind key pair
Log in to the cloud server console.
In the left navigation tree, select "Servers" to jump to the cloud server list page.
Operate according to the view mode actually used. For more view information, please see View Instance Information.
List view: In the operation column on the right side of the row where the instance to be operated is located, select "More > Password/Key Pair > Bind Key Pair".
Detail view: On the page of the instance to be operated, click "All Operations > Password/Key Pair > Bind Key Pair" in the upper right corner.
In the pop-up window, after confirming that the operation object is correct, click "OK". The unbinding operation is completed.
Related documents
"Add associated instance" in the key pair console. For more details, please see Binding Instances to Key Pairs.
"Remove associated instance" in the key pair console. For more details, please see Unbinding Instances from Key Pairs.