<div><br clear="all">I am have problems using the most recent libraries of ssh2 the commerial version. Here is the error when nagios runs the plug-in.</div>
<div> </div>
<div>Remote command execution failed: warning: You have no controlling tty. Cannot read confirmation. </div>
<div> </div>
<div>Here is the command line execution...<br>-bash-3.00$ libexec/check_by_ssh -H host18 -t 30 -S 25 -C "libexec/check_load -w 50 -c 75"<br>OK - load average: 0.00, 0.00, 0.00|load1=0.000000;50.000000;75.000000;0.000000 load5=
0.000000;50.000000;75.000000;0.000000 load15=0.000000;50.000000;75.000000;0.000000<br>You have new mail in /var/spool/mail/nagios</div>
<div> </div>
<div>Here is the /var/log/messages on host18...</div>
<div> </div>
<div>Oct 25 15:10:10 host18 sshd2[870]: connection from "<a href="http://10.1.1.1">10.1.1.1</a>"<br>Oct 25 15:10:10 host18 sshd2[13080]: DNS lookup failed for "<a href="http://10.1.1.1">10.1.1.1</a>".
<br>Oct 25 15:10:10 host18 sshd2[13080]: Remote host disconnected: Key exchange failed.<br>Oct 25 15:10:10 host18 sshd2[13080]: Key exchange failed in remote: 'Key exchange failed.'</div>
<div> </div>
<div>The ssh versions...</div>
<div> </div>
<div>host18</div>
<div> </div>
<div>ssh2 -V<br>ssh2: SSH Secure Shell 2.2.0 on i686-pc-linux-gnu</div>
<div> </div>
<div>nagios</div>
<div>ssh -V<br>ssh: SSH Secure Shell <a href="http://3.2.9.1">3.2.9.1</a> on i686-pc-linux-gnu<br> </div>
<div> </div>
<div> </div>
<div> </div>