When using Zabbix ssh agent I am not able to fetch any data using password authentication method. The password is passed as a macro in the template while adding the host. The items are shown as 'not supported' with error description as 'password authentication failed: error waiting on socket'. But the login credentials are correct and a normal ssh to the client system works perfectly from my zabbix_server system. The logs of zabbix_server in /var/logs/zabbix is as follows:
1751:20200921:172527.228 End of ssh_run():NOTSUPPORTED
1751:20200921:172527.228 Item [xx.xx.xx.xx:ssh.run[xxx]] error: Password authentication failed: Error waiting on socket
1751:20200921:172527.228 End of get_value():NOTSUPPORTED
Whereas when the public key, private key method is used (public and private key generated using ssh-keygen in the server and copied the key to the client system using ssh-copy-id) for authentication for the same client it works without any errors and I am able to fetch the data.
Any idea why this is happening and how to resolve it?
Thank You
1751:20200921:172527.228 End of ssh_run():NOTSUPPORTED
1751:20200921:172527.228 Item [xx.xx.xx.xx:ssh.run[xxx]] error: Password authentication failed: Error waiting on socket
1751:20200921:172527.228 End of get_value():NOTSUPPORTED
Whereas when the public key, private key method is used (public and private key generated using ssh-keygen in the server and copied the key to the client system using ssh-copy-id) for authentication for the same client it works without any errors and I am able to fetch the data.
Any idea why this is happening and how to resolve it?
Thank You