Double ssh

Emmett Hogan EmmettH at Examen.com
Mon Jan 24 19:00:02 CET 2005


deep-ssh may be what you need....

    Via NagiosExchange: 
http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view]=39
      Project Home Page: http://dcs.nac.uci.edu/~strombrg/deep-ssh.html

According to the Web Page:

Basically, deep-ssh just constructs a bunch of ssh's that call other 
ssh's, until you're at your destination, at which point, a command is run.

Hope this helps!

-Emmett

Kaare Rasmussen wrote:

>Hi
>
>I wonder if what I try to do is not kosher. I try to check a disk in server B 
>that I can only see through server A. If run on the command line as the 
>nagios user, I get a disk size as expected. If run thwough Nagios I get:
>
>Could not open pipe: /usr/bin/ssh <server A> 
>'/home/nagios/plugins/check_by_ssh -H <server B> -C 
>"/home/nagios/plugins/check_disk -w 20% -c 10% -p <device>"' 
>
>ssh, check_by_ssh and check_disk are placed in the correct directories (of 
>course, how would I get the correct result when running it manually 
>otherwise...)
>
>  
>


-- 
================ Examen, Inc. ================
Emmett Hogan
Senior UNIX Administrator
emmetth at examen.com
==== Outside Counsel Management Solutions ====

CONFIDENTIAL -  PRIVILEGED INFORMATION
This e-mail may include confidential, trade secret or legally
privileged information.  If you are not the intended recipient,
please do not read, copy, use, distribute or disclose this
communication to anyone other than the intended recipient. Please
notify the sender of any error in transmission or delivery and
delete any misdirected e-mail from your system.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: EmmettH.vcf
Type: text/x-vcard
Size: 271 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050124/49861b1e/attachment.vcf>


More information about the Users mailing list