check_by_ssh problem.

Dmitriy Kropivnitskiy jeld at bnl.gov
Wed Nov 5 22:31:02 CET 2003


I might be doing something wrong, but I want to run some scripts 
remotely using check_by_ssh instead of running NRPE daemon.
Here is what I did:

1. Compiled fresh check_by_ssh from CVS
2. Generated a dsa keypair using ssh-keygen
3. Copied public key to /root/.ssh/authorized_keys on host1
4. Ran the following command on the server
./check_by_ssh -H host1 -l root -i ./nagios.key -C /usr/local/bin/uptime
5. Got 2 EOL characters with exit code 1 on the output

What is wrong?



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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