tencent cloud

Cloud Virtual Machine

Managing Connection Passwords

PDF
Focus Mode
Font Size
Last updated: 2024-01-08 09:41:35

Overview

CVM accounts and passwords are the login credentials for CVMs. This document describes how to use and manage passwords when logging in to a CVM.

Limits

The password must comply with the following limits:
Linux instance: The password must consist of 8 to 30 characters. We recommend that you use a password of more than 12 characters. The password cannot start with "/" and must contain at least three of the following character types (a-z, A-Z, 0-9 and special characters ()`~!@#$%^&*-+=_|{}[]:;'<>,.?/).
Windows instance: The password must consist of 12 to 30 characters. The password cannot start with "/" and must contain at least three of the following character types (a-z, A-Z, 0-9 and special characters ()`~!@#$%^&*-+=_|{}[]:;'<>,.?/), excluding user names.

Directions

Setting an initial password

For different configuration methods selected during CVM purchase, the initial password settings will also be different.
Instance creation through Custom configuration: During creation, the initial password setting methods for different login modes are different.
Login Method
Description
Random Password
The initial password will be sent to you via email and Message Center on the console.
Password Associated with Key
The login with username and password is disabled by default. To use the password, you can log in to the CVM console to reset it, see Resetting Instance Password.
Custom Password
The password you set is the initial password.

Viewing the password

The random password auto-generated by the system will be sent to you through email and the console Message Center. The following operations take Message Center as an example.
1. Log in to the CVM console.
2. Click

in the upper right corner and select the target product message.

Enter the product message page, and you can view the password.



Resetting the password

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback