Hi, I have encountered the following error while trying to create the SSH script sensor: Failed to connect. Please check the SSH log of the target device or try the Compatibility Mode of the sensor's SSH engine and consider updating the target system's operating system. Reason: ssh_connect failed (-1)kex error : no match for method mac algo client->server: server [hmac-sha2-512,hmac-sha2-256], client [hmac-sha1,none] I have done some searching, it is due the hashing mechanism is not match between the PRTG and the targeted device. May I know how to fix this problem?


Article Comments

Hello there,

The error message already contains the available options :)

  • Enable "SSH Compatibility Mode" (you can find it in "Settings" tab of the device, section "Credentials for Linux/Solaris/Mac OS (SSH/WBEM) Systems")
  • "consider updating the target system's operating system"

Kind regards,

Erhard


Feb, 2019 - Permalink

Hi Erhard, Thanks for the reply. However, the setting of SSH Compatibility Mode will lead to another error, which I believe it is due to the fact that the target system is only allowed certain cypher suites. While updating the target system's operation system is not an option here in the context. Therefore, I would like to check whether there is a way to configure the PRTG sensor to use one of the mac algo in the server as shown in the message [hmac-sha2-512,hmac-sha2-256]?

Best Regards,

Mintao


Feb, 2019 - Permalink

Hello Mintao,

See here for details which cipher suites the ssh sensors support. From PRTG's end it is not possible to customize those for the sensors, I'm afraid.

Kind regards,

Erhard


Feb, 2019 - Permalink