>> -----Original Message----- >> From: ReynierPM [mailto:rper...@uci.cu] >> Sent: Monday, November 16, 2009 10:04 AM >> To: James Pratt >> Cc: nagios-users@lists.sourceforge.net >> Subject: Re: [Nagios-users] Problems checking external host >> >> James Pratt wrote: >> > >> > Here's a tutorial I found on setting this up - >> > >> > http://www.zdnetasia.com/techguide/opensource/0,39044899,62052006,00.htm >> > >> >> Thanks for the tutorial it really help me a lot but I need to ask some >> dummie or newbie :( question: if I'm logged in as root, how I can create >> the ssh-key for nagios from root command line?
No problem - As root, just run: su - nagios -c "ssh nag...@remotebox.com" (replace your target hostname here, or use IP) let it connect and accept the key, then do the same on the target box in reverse, so that both sides have the key in ~/.ssh/authorized_keys files. Hth - cheers, James ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users@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