Tencent Cloud allows users to log in to a CVM instance by using the VNC web client. If you do not have a remote login client installed or cannot log in using the client, you can use a VNC web client to log in to a CVM instance. You can use the web client to log in remotely, view the CVM instance status, and perform basic instance management. For detailed instructions, refer to the following documents:
The Windows server supports multi-user remote login. For detailed configuration directions, refer to Setting Up Multi-user Remote Login for Windows CVMs.
If you fail to enable multi-user remote login on a Windows server after following the directions in the document above, restart the instance and try logging in again.
The default user for Ubuntu is ubuntu
. root
is not enabled during the installation process by default. If necessary, you can enable root
by following the directions below:
Log in to the CVM instance using ubuntu
.
Run the following command to set a password for root
:
sudo passwd root
Enter a password for root
and press Enter.
Enter the password again and press Enter.
If the following message is displayed, the password was set successfully:
passwd: password updated successfully
Run the following command to open sshd_config
:
sudo vi /etc/ssh/sshd_config
Press i to switch to the editing mode. Find #Authentication
and change the value of PermitRootLogin
to yes
, as shown in the following figure:
If
PermitRootLogin
is commented, remove the comment marks (#
).
Press Esc and enter :wq to save the file and exit vi.
Run the following command to restart the SSH service.
sudo service ssh restart
Refer to Logging into Linux Instances Using the Standard Login Method on how to use the following information to log in to your CVM instance running Ubuntu.
This problem may have been caused by the high CPU and memory usage of your instance. For more information, please refer to the following documents:
Make sure that:
Make sure that:
Make sure that:
root
. However, Ubuntu uses ubuntu
.Make sure that:
Administrator
.No. If one user has already logged in, other users will not be able to log in.
You can reset your password. For detailed directions, refer to Resetting Instance Passwords.
The VNC web client supports Internet Explorer 10 or later. Please download the latest version of Internet Explorer.
In addition, we recommend you use Google Chrome because the Tencent Cloud Console offers a better user experience on Google Chrome than on Internet Explorer.
If you cannot connect to your Linux instance, refer to Linux Instance Login Failures for troubleshooting instructions.
If this problem persists, please submit a ticket.
If you cannot connect to your Windows instance, refer to CVM Login Failure for troubleshooting instructions.
If this problem persists, please submit a ticket.
If you find that your CVM instance was logged into from locations you do not recognize:
Was this page helpful?