An SSH key allows you to log in to a Linux server remotely. It uses the key generator to create a key pair (public and private). The public key is added to the server, and the client can use the private key to complete the authentication and login. Compared to password login, SSH key login is more secure and efficient.
Currently, Linux instance supports both password and SSH key login, while Windows instance only supports password login. For related documentation, see:
After the CVM is associated with an SSH key, password login is disabled by default. Please logging into Linux instance via SSH key.
When you log into Linux instance via SSH key, password login is disabled by default to improve security.
For more information on key creation, see Managing SSH keys.
If you lost the key, troubleshoot by the following methods:
For more information, see the Binding/Unbinding a key to or from a CVM section in Managing SSH keys.
For more information, see the Modifying the SSH key name and description section in Managing SSH keys.
For more information, see the Deleting SSH keys section in Managing SSH keys.
For more information, see the Use Limits section in SSH Keys.
For more information, see Unable to Log into a Linux Instance via SSH.
The key can only be downloaded once. If you lost the key, we recommend that you create a new key, download and save it.
You can log in to the CVM Console and go to the instance details page to view keys used by the CVM.
Was this page helpful?