Piping across machines? - a suggestion

Matthias Apitz m.apitz at oclcpica.org
Wed May 16 15:31:15 UTC 2007


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


More information about the freebsd-questions mailing list