check_by_ssh id key file reject

James james at nttmcl.com
Mon May 7 21:34:22 CEST 2007


Hi everyone i have a problem with using the check_by_ssh plugin

for some reason i can run from the command line fine the check_by_ssh 
plugin with my id keyfile id_rsa
my id_rsa file is chowned by nagios so that shouldn't be a problem. i 
had also chmoded 777 for testing.

/usr/local/nagios/libexec/check_by_ssh -H 192.168.1.1 -l remotecmd -i 
'/usr/local/nagios/etc/id_rsa' -C '/home/remotecmd/asterisk.sh'

when running it through nagios i get the following error:
Remote command execution failed: Host key verification failed.

ideas?

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list