To ensure the security and reliability of instances, Tencent Cloud provides users with two encrypted login methods. Users can login via a login password or SSH key pair. This document describes logging in with SSH key pair.
You can select SSH key pair as the encrypted CVM login method when Customizing Linux CVM Configurations.
Tencent Cloud encrypts and decrypts the login to Linux instances with public key cryptography. Specifically, Tencent Cloud encrypts data, such as a password, using a public key, and then users decrypt the data using a private key. The public and private keys are called key pair, with which, users can connect to CVM securely. This method is more secure than logging in with a password.
Tencent Cloud only stores the public key. The private key will be kept by you. The private key can be used to decrypt your login, so be sure to keep it safe.
Compared to traditional password authentication methods, SSH key has the following advantages: