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?

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, export managed accounts, and obtain the host account username and password.
  2. Log in to the ECS management console, log in to the Linux host using VNC, 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 HSS Two-Factor Authentication.

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.

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