Re: Piping across machines? - a suggestion
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 [EMAIL PROTECTED] - 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Piping across machines? - a suggestion
On Wed, May 16, 2007 at 04:40:24PM +0200, Nino Ivanov wrote: 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. That is what nc(1) is for, more or less. :-) Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpdvCZAFCjy9.pgp Description: PGP signature
Re: Piping across machines? - a suggestion
In the last episode (May 16), Nino Ivanov said: 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. If you have ssh configured to allow passwordless logins (either via .shosts or key-based authentication), this works as you would expect: ssh machine1 programX | ssh machine2 programY | ssh machine3 programZ Just remember to quote any file redirection or wildcard characters that you want the remote systems to process. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Piping across machines? - a suggestion
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Nino Ivanov wrote: 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. man nc Does exactly what you suggest, and it's in the base system. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGSyTL3jDkPpsZ+VYRA5lNAJ4kzHkAvhS3yLZYzryF0HJEF3ZDuACgohDU dWnMfKV8dGiRWg4UmVr/hFk= =QkFA -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Piping across machines? - a suggestion
Nino Ivanov wrote: 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. programX | ssh machine2 programY | ssh machine3 programZ works for pretty much any reasonable(*) choice of programY or programZ --Alex (*) terminal-based programs like less won't always work. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Piping across machines? - a suggestion
Thank you all for the tips with ssh nc! I simply wondered whether some old 486-machines might be put to some cluster use... This obviously answers it! :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]