Giving check_by_ssh a password

Misao misaochankun at speakeasy.net
Wed Jun 23 00:33:50 CEST 2004


Hey, that did something. For some reason, the sysadmin that worked on this
box before had set both the .ssh and the Nagios home directory to 777
instead of 755. I'll have to remember that one, thanks.

-----Original Message-----
From: Jason Martin [mailto:jhmartin at toger.us] 
Sent: Tuesday, June 22, 2004 5:22 PM
To: Misao
Cc: 'Andy Harrison'; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Giving check_by_ssh a password

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Check the permissions of the key on the remote end. The users's home 
directory and .ssh directory must not be group or world writable, and the 
authorized_key file must also be user/world read-only.

- -Jason Martin

 On Tue, 22 Jun 2004, Misao wrote:

> After some experimentation, I still have this problem.
> I generated a new dsa key for Nagios, and put that on the unix server that
> had the problem. Watching -v output, it seems the unix server is ignoring
> any keys offered for reasons unknown. It is only this one server that does
> this. I created a key on the unix machine, and put it on the Nagios
machine,
> and it can ssh into the Nagios machine just fine. I wish there was a way
to
> see the verbose output of the sshd on the unix machine while I try to log
> in, maybe that would give me more insight. For now, I still can not do
> Nagios checks, unless there is a way to give a password. Any other
options?
> 
> 
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andy
Harrison
> Sent: Friday, June 18, 2004 8:15 PM
> To: Misao
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Giving check_by_ssh a password
> 
> 
> *snip*
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
> digital self defense, top technical experts, no vendor pitches, 
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> 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
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQFA2LEUl2ODWuqVSBMRAtinAJ9Nozc5K9UodqLmIdXyzCaOodPsxgCeO0Gp
AEkXrCuj9e+mixvp71W0QGE=
=VnO+
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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