check_by_ssh problem

Marc Powell marc at ena.com
Wed Jan 2 14:26:21 CET 2008


On Jan 2, 2008, at 3:34 AM, beick at zib.de 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?

--
Marc

-------------------------------------------------------------------------
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
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