Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2007 17:19:02 +0200
From:      Matthias Apitz <m.apitz@oclcpica.org>
To:        Nino Ivanov <niivanov@gmx.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Piping across machines? - a suggestion
Message-ID:  <20070516151902.GA11614@rebelion.Sisis.de>
In-Reply-To: <000501c797c8$2492c3c0$d900000a@eniac>
References:  <000501c797c8$2492c3c0$d900000a@eniac>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Wednesday, May 16, 2007 a las 04:40:24PM +0200, Nino Ivanov escribió:

> Dear Sir or Madam,
> 
> I am still a newbie in some respects, so maybe this idea is a moot point
> or done already, but in case it is not, I'd like to suggest it:
> 
> One nice thing about unix is this piping, like programX | programY |
> programZ...
> 
> Well, I just thought: Wouldn't it be interesting if this were possible -
> in the same simplicity - over several machines as well? Like, something
> similar to: machine1:programX | machine2:programY | machine3:programZ...
> Machines could be identified by a name or an IP-Address.
> 
> Just a thought...

$ programX | ssh machine2 programY

$ programX | ssh machine2 "programY | ssh machine3 programZ"

(if you have proper RSA keys and so on)

	matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <m.apitz@oclcpica.org> - w http://www.oclcpica.org/ http://guru.UnixLand.de/
b http://gurucubano.blogspot.com/
OCLC PICA GmbH, Geschaeftsfuehrer: Christine Magin-Weeger, Norbert Weinberger
Sitz der Gesellschaft: Oberhaching, HRB Muenchen: 113261



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070516151902.GA11614>