Hi 

On Thu, Mar 23, 2006 at 07:01:35PM +0900, Yoann Guillot wrote:
> On Thu, Mar 23, 2006 at 06:42:49PM +0900, Reto Schuettel wrote:
> > At the end of the day I'd like to do something like that:
> >   # ruby client.rb | ssh host 'ruby agent.rb'
> > 
> 
> With drb, the client needs to talk to the agent and vice-versa, so this
> command line will never work (the client will talk to the agent, but not the
> other way around).

A pipe provides two streams (in & out), and tcp does the same. The
question is now if drb really needs two connections (-> 4 streams)?

> > Unfortunately using drb's tcp protocol directly isn't really an option in
> > our environment.
> > 
> > Does anybody have a good idea? 
> 
> As suggested, tunelling is probably the best/simpler choice.

Tunneling may be a solution, although I'd prefer the pipe. Otherwise
there would be a daemon, somewhere listening on localhost:port. 

Regards,
Reto Schtel