Irix monitoring/check_by_ssh
Marc Powell
marc at ena.com
Mon Jun 6 21:35:04 CEST 2005
Nope. If the source key exists in the authorized_hosts file on the
remote host then passwordless access is allowed w/o the agent. 'man 8
sshd' and search for authorized keys for additional limitations that you
can employ. I've been doing this for as long as I can remember and have
never used the agent.
--
Marc
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Aaron Carr
> Sent: Monday, June 06, 2005 2:16 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Irix monitoring/check_by_ssh
>
> The agent will need to have the key loaded on the monitoring host in
> order to have passwordless sessions for checks, will it not?
>
> On 6/6/05, Marc Powell <marc at ena.com> wrote:
> >
> >
> > > -----Original Message-----
> > > From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-
> > > admin at lists.sourceforge.net] On Behalf Of Aaron Carr
> > > Sent: Monday, June 06, 2005 1:30 PM
> > > To: nagios-users at lists.sourceforge.net
> > > Subject: [Nagios-users] Irix monitoring/check_by_ssh
> > >
> > > How is everyone doing their monitoring of Irix machines?
> > >
> > > I have no issues with getting Nagios set up for Linux and Solaris,
but
> > > Irix is presenting a problem.
> >
> > Can't help here...
> >
> > >
> > > Regarding check by ssh, the ssh-agent isn't working with the
Nagios
> > > user. I can only assume that's because the Nagios daemon doesn't
have
> > > a logon account on the monitoring box. After su from root to
Nagios, I
> > > start the ssh-agent, then when I attempt to add a key, I get the
error
> > > "Could not open a connection to your authentication agent."
> >
> > Why are you trying to use the agent? Why not just generate a key as
the
> > nagios user on your source host and add it to authorized_keys for
the
> > destination user/host? Ssh over once to accept the host key then you
> > should be good to go.
> >
> > --
> > Marc
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: NEC IT Guy Games. How far can
you
> shotput
> > a projector? How fast can you ride your desk chair down the office
luge
> track?
> > If you want to score the big prize, get to know the little guy.
> > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
> > _______________________________________________
> > 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
> >
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you
> shotput
> a projector? How fast can you ride your desk chair down the office
luge
> track?
> If you want to score the big prize, get to know the little guy.
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
> _______________________________________________
> 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
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
_______________________________________________
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