[Nagiosplug-help] R: Remote command execution failed: Permissiondenied (publickey, keyboard-interactive).

Marc Powell marc at ena.com
Thu Dec 17 17:23:15 CET 2009


On Dec 17, 2009, at 10:10 AM, J4 wrote:

> Note that I have added the back slash \ to the lines above in this
> Email.  The key file is correctly named dd52, and I have tested this with:
> 
> root at abc:/usr/local/nagios/etc/objects# ssh -i
> /usr/local/nagios/etc/keys/dd52 nagios at dd52
> Last login: Thu Dec 17 12:01:59 2009 from 10.206.20.26
> $

This isn't a valid test. You've accepted the remote host's key as 'root', not nagios. Perform this test as the nagios user. You'll probably also want to enable sshd debug logging on the remote host for clues.

--
Marc





More information about the Help mailing list