check_by_ssh issues

Steven Schwartz sschwartz at gracenote.com
Thu May 3 18:29:12 CEST 2007


This is just weird:

 

 

ssh -i /usr/local/nagios/etc/.ssh/id_dsa -l nagios
fully.qualified.hostname.com /usr/local/bin/nagcheck

 

produces output, run as nagios.

 

Running the check_by_ssh binary, with this command line:

 

./check_by_ssh -H fully.qualified.hostname.com  -l nagios -i
usr/local/nagios/etc/.ssh/id_dsa -C "/usr/local/bin/nagcheck"

 

results in being asked for a password.

 

Any ideas?

 

Steven S.

 

 

CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging
to Gracenote, Inc. may be contained in this message. If you are not a
recipient indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for any reason
that this message may have been addressed to you in error, you may not
use or copy or deliver this message (and all attachments) to anyone
else. In such case, you should destroy this message (and all attached
documents) and are asked to notify the sender by reply email.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070503/b19396ac/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
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