[Nagiosplug-help] Host key verificationfailed.

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Wed Jun 25 03:09:00 CEST 2003


Follow-up to nagios-users.  Please maintain this in the future.

You still haven't cut-and-pasted as originally requested.  However,
it *appears* that we've found the root of your problem:  You're
being prompted for the password.

What you need to do is set up a null passphrase for nagios on the
Nagios host, and install the public key on the client host(s).

I will not be giving you a tutorial on how to set up a null
passphrase and push the public key to the host(s) in question, but
I will suggest you start with "man ssh-keygen".

I'm glad to see we got to the root of the problem.

jc


> -----Original Message-----
> From: Gilberto Nunes Ferreira [mailto:gilbertonunes at pwr.com.br]
> Sent: Tuesday, June 24, 2003 3:42 PM
> To: Carroll, Jim P [Contractor]
> Subject: RE: [Nagios-users] Re: [Nagiosplug-help] Host key
> verificationfailed.
> 
> 
> That's very stranger...
> In a command line, the command check_by_ssh work, but ask me for a
> password and all working on.
> Help-me!!!
> 
> 
> Em Ter, 2003-06-24 às 17:36, Carroll, Jim P [Contractor] escreveu:
> > Please run the command at the command line.  Paste both the invoked
> > command *and* the output to this mailing list.
> > 
> > jc
> > 
> > 
> > > -----Original Message-----
> > > From: Gilberto Nunes Ferreira [mailto:gilbertonunes at pwr.com.br]
> > > Sent: Tuesday, June 24, 2003 1:24 PM
> > > To: nagios-users at lists.sourceforge.net
> > > Cc: jasmine.chua at securecirt.com
> > > Subject: [Nagios-users] Re: [Nagiosplug-help] Host key 
> verification
> > > failed.
> > > 
> > > 
> > > Hi again
> > > 
> > > I understand what do you say Jasmine, but I can get a way 
> by ssh to my
> > > box.
> > > With a normal ssh session, I can logged into the box.
> > > But when a try to the check_by_ssh plugin I can't.
> > > What can I do?
> > > 
> > > Em Seg, 2003-06-23 às 20:51, Jasmine escreveu:
> > > > -----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. 
> > > > 
> > > > On Tuesday 24 June 2003 05:41, Gilberto Nunes Ferreira wrote:
> > > > > Hi evervbody
> > > > >
> > > > > I have two host.
> > > > > One of then I wan't to verify by check_by_ssh, plugins.
> > > > > So, I make this in the checkcommands.cfg file:
> > > > >
> > > > > .....
> > > > > ...
> > > > > ..
> > > > > define command{
> > > > >         command_name    ssh_check_disk
> > > > >         command_line    $USER1$/check_by_ssh -H $HOSTNAME$ -C
> > > > > '$USER3$/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$'
> > > > >         }
> > > > >                                                           
> > >                  
> > > > >                                                 Wen I 
> > > restart the nagios
> > > > > services, appear a mesagem that say:
> > > > >
> > > > >
> > > > >
> > > > > Host key verification failed.
> > > > >
> > > > >
> > > > > What the means of this mesage?
> > > > > I forgot something?!?!?!
> > > > >
> > > > > Please,help!
> > > > > Thanks.
> > > > 
> > > > - -- 
> > > > Jasmine Chua
> > > > Security Engineer
> > > > 
> > > > -----BEGIN PGP SIGNATURE-----
> > > > Version: GnuPG v1.2.2 (GNU/Linux)
> > > > 
> > > > iD8DBQE+95KSNgvTa7Hj2AURAgAOAKCMlNw7xqAnu5VBX7llOEn3K+gO0wCeJQej
> > > > T8ddWrGJipPo0jXTPzfpO0M=
> > > > =geFj
> > > > -----END PGP SIGNATURE-----
> > > -- 
> > > Gilberto Nunes Ferreira
> > > Linux User nº 199930
> > > ICQ #136176504
> > > Network Services
> > > Power Consultoria e Sistemas
> > > Fones: (47) 433-7595
> > > E-Mail: gilbertonunes at pwr.com.br
> > > Home Page: www.pwr.com.br
> > > Oracle Member Partner
> > > Centro Certificado GNU/LINUX
> > > 
> > > 
> > > 
> > > 
> > > 
> > > -------------------------------------------------------
> > > 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
> > 
-- 
Gilberto Nunes Ferreira
Linux User nº 199930
ICQ #136176504
Network Services
Power Consultoria e Sistemas
Fones: (47) 433-7595
E-Mail: gilbertonunes at pwr.com.br
Home Page: www.pwr.com.br
Oracle Member Partner
Centro Certificado GNU/LINUX





-------------------------------------------------------
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