check_by_ssh resulting in an error: Remote command execution


#1

Hello,

I am having trouble executing a check_by_ssh command. I am trying to execute the command via command line. Here is my command…

/usr/local/nagios/libexec/check_by_ssh -i /home/nagios/.ssh/id_dsa -l -H -C ‘/usr/local/nagios/libexec/check_load -w 5.0,5.0,5.0
-c 10.0,10.0,10.0’

The command results with the error: Remote command execution failed: stdin: is not a tty

I am using debian on the nagios server. The client I’m trying to remote into is a CentOS box. I have got this to work on other servers, including debian, red-hat, mepis, etc. Can someone shed some light on this for ? I have mey public keys setup on the host and client, etc. Like I said, this works on 30 other servers with the same type of configurations. :frowning: