RedHat 9.4 VM to SCOM 2019: Error during SSH discovery

Mireia López 10 Reputation points
2025-03-26T15:55:49.89+00:00

Hello everyone,

I am trying to add a RedHat 9.4 virtual machine to SCOM 2019. The VM meets specifications (Red Hat Enterprise Linux (RHEL) Server 9 is supported from Operations Manager 2019 UR5 and later) and we have other RedHat 9 VMs running correctly on the system. When performing the discovery process, the following error appears:

Standard Output:

Standard Error:

Exception Message:An exception (-1073479102) caused the SSH command to fail - Server's host key did not match the signature supplied.

I have successfully configured and installed the agent, including:

  • Manual agent installation.
  • Forcing certificate creation.
  • New local username and password for SCOM.
  • Permissions defined in Visudo.

This VM has never been introduced in SCOM before. Although I've searched for solutions, I haven't found any suitable ones for this case.

I have reviewed the sshd_config file and disabled firewalld on RedHat. I have also searched the .ssh/known_hosts file on SCOM, but I couldn't find anything like that.

Has anyone encountered a similar issue or have any suggestions for resolving this error?

Thanks in advance for your help.

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,575 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Jose Benjamin Solis Nolasco 1,051 Reputation points
    2025-03-26T18:35:05.4233333+00:00

    What version are you on SCOM?


  2. XinGuo-MSFT 22,066 Reputation points
    2025-03-27T07:50:09.3533333+00:00

    Hi Mireia,

    It sounds like you've done a lot of troubleshooting already! The error you're encountering, "Server's host key did not match the signature supplied," typically points to an issue with the SSH host key verification.

    Here are a few steps you can try to resolve this:

    1. Check Known Hosts File: Ensure that the SSH host key for your RedHat VM is correctly listed in the .ssh/known_hosts file on the SCOM server. If there's a mismatch, you might need to remove the old entry and re-add the correct one.
    2. Update OpenSSH Version: Make sure your OpenSSH version is up-to-date. For RHEL 9.4, it's recommended to use OpenSSH version 8.7p1-29 or later.
    3. Verify Host Key: Manually verify the SSH host key on your RedHat VM. You can do this by running:
         ssh-keygen -lf /etc/ssh/ssh_host_rsa_key.pub
      
      Compare this key with the one stored in the .ssh/known_hosts file on the SCOM server.
    4. Recreate SSH Keys: If the host key is incorrect, you might need to regenerate the SSH keys on your RedHat VM:
         sudo rm /etc/ssh/ssh_host_*
         sudo dpkg-reconfigure openssh-server
      

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.