check_by_ssh id key file reject

Babineau, Mike Mike.Babineau at Pearson.com
Mon May 7 21:42:27 CEST 2007


Just to clarify - are you manually executing this check using the same
account under which Nagios runs?

-Mike

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of James
Sent: Monday, May 07, 2007 12:34 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_by_ssh id key file reject

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

-------------------------------------------------------------------------
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