> * [EMAIL PROTECTED] [2008-01-02 21:56]: >> > On Jan 2, 2008, at 3:34 AM, [EMAIL PROTECTED] wrote: >> >> I want to do some checks on a remote host using check_by_ssh. >> Although >> >> user nagios can ssh to that host without being asked for a password >> >> the webinterface of my nagios is telling me: >> >> >> >> Unknown >> >> Remote command execution failed: Permission denied >> >> (publickey,keyboard-interactive) >> >> >> >> If I run nagios in the foreground I get prompts for password. >> >> >> >> Any idea what I might have missed? >> > >> > Are you using the exact same hostname/IP address for your command line >> > test as the nagios user that you have in your configuration? >> >> Yes, I think so. > > "I think so" doesn't sound very convincing :-) > > Anyway, there's no ssh-agent(1) involved? Does it work on the command > line if you use "env -i /path/to/check_by_ssh [...]"? > > Holger > Yes it does work. Does it matter if I do not login as nagios to the webinterface?
Matthias ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list [email protected] 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
