<br><font size=2><tt>nagios-users-bounces@lists.sourceforge.net wrote on
25/10/2006 23:30:19:<br>
</tt></font>
<br><font size=2><tt>[snip]</tt></font>
<br><font size=2><tt><br>
> Here is the /var/log/messages on host18...</tt></font>
<br><font size=2><tt>>  </tt></font>
<br><font size=2><tt>> Oct 25 15:10:10 host18 sshd2[870]: connection
from "10.1.1.1"<br>
> Oct 25 15:10:10 host18 sshd2[13080]: DNS lookup failed for "10.1.1.1".
<br>
> Oct 25 15:10:10 host18 sshd2[13080]: Remote host disconnected: Key
<br>
> exchange failed.<br>
> Oct 25 15:10:10 host18 sshd2[13080]: Key exchange failed in remote:
<br>
> 'Key exchange failed.'</tt></font>
<br>
<br><font size=2><tt>The log file is telling exactly what the problem is..
The ssh key exchange failed..</tt></font>
<br>
<br><font size=2><tt>Fix the key exchange.. There's a problem with the
private/public keys..  Maybe they don't exist on the remote server,
or aren't set up right, or don't have the right permissions.  With
the commercial SSH package I'm using, it uses keys in the ~/.ssh2 folder..
It's not the same as OpenSSH, and the keys are in a different format.</tt></font>
<br>
<br><font size=2><tt>You should look up the documentation for SSH2 for
your operating system and set up keynegotiation for the user that is connecting
to host host18.  You need key exchange to work before you can use
the check_by_ssh plugin.  There is good documentation for Commercial
SSH, that's why you pay for it.</tt></font>
<br>
<br><font size=2><tt>rob</tt></font>
<br><pre>

This message and any attachments (the "message") is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**********************************************************************************************

BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI & AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority

</pre>