Help Center/ Cloud Bastion Host/ FAQs/ Troubleshooting/ CBH Managed Resource Login Failures/ Why Am I Seeing Login Errors of Code: C_769 When I Use a Web Browser for Resource O&M?
Updated on 2023-04-11 GMT+08:00

Why Am I Seeing Login Errors of Code: C_769 When I Use a Web Browser for Resource O&M?

Symptoms

When a user attempts to log in to a managed host resource using a web browser, a login error (Code: C_769) is reported, indicating that the account username, password, or key is incorrect.

Checking Managed Host Account Passwords

  1. Log in to the CBH system, select the target Linux host, , and obtain the host account username and password.
  2. Log in to the ECS management console, log in to the Linux host , and verify the host account username and password.

Check Whether Two-Factor Authentication Is Enabled on the Linux Host

When a dynamic password is required for logging in to a Linux host, the two-factor authentication function of Host Security Service (HSS) is enabled on the Linux host.

In this case, disable two-factor authentication for the Linux host by referring to .

After that, log in to the managed Linux host again through the CBH system.

Check Whether the Linux Host Rejects the Login of User root

In the sshd service configuration file /etc/ssh/sshd_config, if PermitRootLogin is set to no, the user root is not allowed to log in to the Linux host.

  1. Log in to the Linux host and check the configuration file of the sshd service.
  2. In the /etc/ssh/sshd_config file, find the PermitRootLogin parameter, and check whether the parameter value is no. If yes, go to the next step.
  3. Modify the /etc/ssh/sshd_config file.

    Find the PermitRootLogin parameter and change its value to yes or comment out the line where the parameter is located.

    #PermitRootLogin no

  4. Run the following command to restart the SSHD service:

    systemctl restart sshd

After the preceding operations are complete, log in to the Linux host through the CBH system again.

Check Whether the 120-Day Free Trial Period of the Windows Server Expires

Check method: Remotely log in to the target Windows ECS from a Windows ECS on the intranet and check whether the following error message is displayed: "The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license. Please contact the server administrator."

In this case, the 120-day RDS free trial expires. There is a default grace period of 120-day free trial for Windows ECSs. After the free trial period expires, pay for the service. Otherwise, the remote connection will fail.

If the problem persists, click Service Tickets in the upper right corner of the management console and submit a service ticket.