Hi all,
I'm currently having problem with Public key authentication for running SSH remote commands. SSH remote command with password works, but when it comes to using key authentication, no action is performed.
Here is my scenario/findings :
1) My test remote command is echo "Server Problem" > ~/report.log
2) There is no error whatsoever in zabbix server log.
3) SSHKeyLocation is pointing at the correct path. Anyway I tried specifying full path for the key fields under "operations" tab.
4) Tried both Public key with keyphrase and without. Both did not work.
5) I do see Zabbix server connecting to the client using SSH ( tcpdump at the client ) at time of trigger, but no action was performed.
6) Using the user "zabbix", which is runninig zabbix server, I can SSH using the bash shell into the client using public key without password.
I'm currently running out of ideas as to what is causing public key authentication to make the remote commands fail. Any suggestions would be appreciated.
Thanks.
I'm currently having problem with Public key authentication for running SSH remote commands. SSH remote command with password works, but when it comes to using key authentication, no action is performed.
Here is my scenario/findings :
1) My test remote command is echo "Server Problem" > ~/report.log
2) There is no error whatsoever in zabbix server log.
3) SSHKeyLocation is pointing at the correct path. Anyway I tried specifying full path for the key fields under "operations" tab.
4) Tried both Public key with keyphrase and without. Both did not work.
5) I do see Zabbix server connecting to the client using SSH ( tcpdump at the client ) at time of trigger, but no action was performed.
6) Using the user "zabbix", which is runninig zabbix server, I can SSH using the bash shell into the client using public key without password.
I'm currently running out of ideas as to what is causing public key authentication to make the remote commands fail. Any suggestions would be appreciated.
Thanks.
Comment