ReynierPM wrote: > Morris, Patrick wrote: > >> ReynierPM wrote: >> >> check_by_ssh does host key checking, and if one does not exist or it >> does not match what's in Nagios's known_hosts file, it will fail. >> >> The easy fix would be to SSH from the Nagios box to each of those hosts >> manually as the Nagios user, using the exact same address Nagios will >> use when checking, and let it save the host key. >> >> > > I try both solution, make SSH key at Nagios server and copy RSA key to > /root/.ssh/authorized_keys and also login as r...@10.128.50.11 to the > remote server and the error still. Any other help? > > The part I'm fairly sure you're missing is that the name in authorized_keys must match the name or address Nagios uses, exactly. That's really the only reason you'd see that error.
------------------------------------------------------------------------------ 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