<div dir="ltr">Can you do an ssh from nagios server as nagios user to the blue host server without password with -i option<div>ssh -i .ssh/<key>  <bluehost></div><div><br></div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Wed, Jul 17, 2013 at 9:40 PM, Mario Garcia <span dir="ltr"><<a href="mailto:mariog@absi.be" target="_blank">mariog@absi.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello <div>i want to monitor a bluecoat reporter with check_by_ssh as nrpe or snmp are not available. </div><div><br></div><div>when i loggin from nagios user using simple ssh I can login </div><div>when i execute check_by_ssh from root user and execute a command it does work </div>


<div><br></div><div>when i execute check_by_ssh from the nagios user on the nagios server it does not work.. the public key is not taken into account as it request the password despite the fact that i add -i option to check_by_ssh.. </div>


<div><br></div><div>do you have an idea what could this be? is it the bluecoat reporter which is refusing check_by_ssh, why does not refuse when i just use ssh ..</div><div><br></div><div>note I am conneciting from nagios user on nagios server to root user on bluecoat reporter..maybe i should try to login to nagios user on the remote system? </div>


<div><br></div><div>i am out of ideas</div><div><br></div><div>thanks <span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><font color="#888888" face="arial, sans-serif"><span style="border-collapse:collapse"><div>
<b>--<br>Mario Garcia</b></div>

<div>ABSI SA</div><div>224 Bd de l'Humanité</div><div>1190 Brussels  Belgium</div><div><a href="http://www.absi.be" target="_blank">www.absi.be</a></div><div>Tel <a href="tel:00%20322%20333%2040%2000" value="+3223334000" target="_blank">00 322 333 40 00</a><br>
</div></span></font>
</font></span></div>
<br>------------------------------------------------------------------------------<br>
See everything from the browser to the database with AppDynamics<br>
Get end-to-end visibility with application monitoring from AppDynamics<br>
Isolate bottlenecks and diagnose root cause in seconds.<br>
Start your free trial of AppDynamics Pro today!<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk</a><br>_______________________________________________<br>

Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards<br>Sunil Sankar
</div>