From: Yoann Guillot Date: 2006-03-23T19:01:35+09:00 Subject: Re: drb over pipes On Thu, Mar 23, 2006 at 06:42:49PM +0900, Reto Schuettel wrote: > Hi > > I'd like to establish a drb connection over ssh, preferably over the > stdin/stdout channels which are provided by ssh itself. Is there a > drb protocol which uses pipes? If not, is it easy to implement? > > I've seen that the tcpprotocol uses two connections, this could be > problem, as pipes/stdin/stdout only provide one stream. > > 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). > 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. > > Thanks! > > Cheers, > Reto Sch�ttel > -- Yoann Guillot