What version are you on SCOM?
RedHat 9.4 VM to SCOM 2019: Error during SSH discovery
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.
2 answers
Sort by: Most helpful
-
Jose Benjamin Solis Nolasco 1,051 Reputation points
2025-03-26T18:35:05.4233333+00:00 -
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:
- 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. - 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.
- Verify Host Key: Manually verify the SSH host key on your RedHat VM. You can do this by running:
Compare this key with the one stored in thessh-keygen -lf /etc/ssh/ssh_host_rsa_key.pub
.ssh/known_hosts
file on the SCOM server. - 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
- Check Known Hosts File: Ensure that the SSH host key for your RedHat VM is correctly listed in the