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

J4 junk4 at klunky.co.uk
Thu Dec 17 17:35:26 CET 2009


Sorry:

nagios at abc:~$ ssh -i /usr/local/nagios/etc/keys/dd52 nagios at dd52
Last login: Thu Dec 17 17:08:53 2009 from 10.206.20.26
$

Works fine.


Marc Powell wrote:
> 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
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
>   

-- 
Important: I do not consent to receive advertisements from anyone.
If I receive advertisements from you then your Email will be marked 
as SPAM and all your Emails will be rejected.
Marketing: http://www.spamhaus.org/faq/answers.lasso?section=Marketing%20FAQs
Software users' rights:	US http://cr.yp.to/softwarelaw.html
## NOTE: I will not reply to a Gmail account. Why? Please read below:
http://www.gmail-is-too-creepy.com







More information about the Help mailing list