On 08 May 2001 18:47:09 -0400, Alvaro Herrera wrote:
>
> BTW, I'm still trying to work out how can I replicate via a secure channel
> using OpenSSH. I had to add a "port" parameter to most, if not all, the
> programs so I could use a manually created tunnel; however, I'm still unable
> to figure out how to do it automatically (the "script" way). The -R and
> -L parameters to ssh(1), next to an appropiate way for calling the Replicate
> program should do it, but I can't find the right combination.
Sorry for answering my own question, but the solution is using ssh -L -2 -N
with OpenSSH, then using Replicate over the locally created socket.
Sometimes I just go blind for the easy solutions.
--
Alvaro Herrera (<alvherre[@]atentus.com>)