A Linux ECS cannot be logged in to due to some reasons. For example, the network is abnormal, remote desktop access is blocked by the firewall on the ECS, or the ECS vCPUs are overloaded.
This section describes how to troubleshoot Linux ECS login failures.
If you cannot log in to your Linux ECS, follow the instructions provided in Checking the VNC Login. Then, locate the login fault by referring to Fault Locating.
Check whether you can log in to the ECS using VNC on the management console.

Do not press CTRL+ALT+DELETE on the physical keyboard because this operation does not take effect.
If the VNC login still fails, record the resource details and fault occurrence time for further fault locating and analysis.
If you can log in to the ECS using VNC but cannot log in to it using a remote desktop connection, locate the fault by referring to this section.
The following fault causes are sequenced based on their occurrence probability.
If the fault persists after you have ruled out a cause, check other causes.
Possible Cause |
Solution |
|---|---|
The ECS is frozen or stopped. |
Make sure that the ECS is in the Running state. For details, see Checking the ECS Status. |
The entered username or password is incorrect. |
The default username for Linux ECSs is root. For details, see Checking the Login Mode. |
The ECS is overloaded. |
If the bandwidth or CPU usage of the ECS is excessively high, login failures may occur. For details, see Checking Whether the ECS Is Overloaded. |
The ECS has no EIP bound. |
To log in to an ECS using RDP or MSTSC, ensure that the ECS has an EIP bound. For details, see Checking Whether an ECS Has an EIP Bound. |
The access is blocked by the ISP. |
Check whether you can access the ECS using another hotspot or network. For details, see Checking Whether the Network Is Normal. |
The security group of the ECS denies inbound traffic on the remote login port. |
Check whether the security group allows inbound traffic on the remote login port. For details, see Checking Whether the Security Group Is Correctly Configured. |
The remote access port is incorrectly configured. |
Check whether the remote access port is correctly configured on the local computer and the ECS. For details, see Checking Whether the Remote Access Port Is Correctly Configured. |
An IP address whitelist for SSH logins has been configured. |
Ensure your IP address is included in the whitelist. For details, see Checking the IP Address Whitelist for SSH Logins (with HSS Enabled). |
An OS fault has occurred. |
The file system is damaged. For details, see Checking Whether an OS Fault Has Occurred. |
The access is blocked by third-party antivirus software. |
Disable or uninstall the third-party antivirus software and try again. For details, see Checking Whether the Access Is Blocked by Antivirus Software. |
The cause is displayed in the error message. |
If an error message is displayed during remote login, check the operation guide based on the error information. For details, see Checking Whether an Error Occurred During a Remote Login. |
Check whether the ECS is in the Running state on the management console. If the ECS is stopped, start it and try to log in to the ECS again.

Check the login mode you set when you created the ECS.

If the bandwidth or CPU usage of the ECS is excessively high, login failures may occur.
If you have created an alarm rule in Cloud Eye, the system automatically sends an alarm notification to you when the bandwidth or CPU usage reaches the threshold specified in the rule.
To resolve this issue, perform the operations described in Why Is My Linux ECS Running Slowly?
You can also upgrade the vCPUs and memory by modifying ECS specifications.
For instructions about how to increase the bandwidth, see Modifying an EIP Bandwidth.
After you perform the preceding operations, try to remotely log in to the ECS again.
If you need to use a remote login tool (such as PuTTY or Xshell) to access the ECS, bind an EIP to the ECS.
For details, see Assigning an EIP and Binding It to an ECS.
Use a local PC in another network or use another hotspot to access the ECS. Check whether the fault occurs on the local network. If so, contact the carrier to resolve this issue.
After you perform the preceding operations, try to remotely log in to the ECS again.
Check whether the local host can access port 22 on the ECS.
Run the following command to check whether port 22 is accessible:
telnet <ECS-private-IP-address>
If port 22 is inaccessible, check whether port 22 is opened in the security group rule.
On the ECS details page, click the Security Groups tab and check that port 22 is configured in the inbound rule of the security group.

For details about how to modify a security group rule, see Modifying a Security Group Rule.
After you perform the preceding operations, try to remotely log in to the ECS again.

After you perform the preceding operations, try to remotely log in to the ECS again.
After HSS is enabled, you can configure an IP address whitelist for SSH logins as required. The IP address whitelist controls SSH access to ECSs, effectively preventing account cracking.
After you configure the allowlist, SSH logins will be allowed only from IP addresses in the allowlist.
For more details, see Configuring Server Login Protection.
There is a low probability that the file system is damaged after a forcible stop, which causes the ECS fails to be restarted. For details, see Why Does a Forcibly-Stopped Linux ECS Fail to Be Restarted?
After you perform the preceding operations, try to remotely log in to the ECS again.
Third-party antivirus software may lead to a failure in accessing the ECS.
If third-party antivirus software is running, check whether the remote connection is blocked by the software. If the remote connection is blocked, add the EIP bound to the ECS to the whitelist of the antivirus software and try to access the ECS again.
You can also disable or uninstall the third-party antivirus software and try to remotely log in to the ECS again.
If an error message is displayed during remote login, check the operation guide based on the error information.
If the fault persists, record the resource details and fault occurrence time, and contact technical support for assistance.
If the fault persists after the preceding operations are performed, record the resource details and fault occurrence time, and contact customer service for technical support.