[Nagiosplug-help] Host key verification failed.

Karl DeBisschop karl at debisschop.net
Tue Jun 24 13:36:05 CEST 2003


On Mon, 2003-06-23 at 19:51, Jasmine wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi 
> 
> It means it is really a SSH problem. Your box cannot access the other by SSH. 
> You have to make sure you have the right host keys generated. Perhaps you can 
> check your known_hosts in your .ssh directory to make sure the key for that 
> particular host is there. 

two other points to add:

1) I find it easiest to reference a keyfile - because the plugin tries
to ensure security, some parts of your environment are not accessible
(if you did not want to be secure, you would not be using ssh, right?).
See the relevant command option with check_by_ssh --help

2) Related to Jasmine's 2nd point above, if the host key is there, the
plugin will hang when SSH asks if you want to trust this new host. An
easy solution is to connect manually once (as nagios). Also, the keys
can be in /etc/ssh/ssh_known_hosts or /etc/ssh/ssh_known_hosts2 - we
distribute our keys to our controlled servers rather than forcing our
users to understand the concept of spoofed host keys.

--
Karl




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
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