James Pratt wrote:

> su - nagios -c "ssh nag...@remotebox.com" (replace your target
> hostname here, or use IP)
> 
> let it connect and accept the key, then do the same on the target box
> in reverse, so that both sides have the key in ~/.ssh/authorized_keys
>  files.

Ok I run the command and I get this error now:

Remote command execution failed: Permission denied, please try again.

Why this?

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

Reply via email to