Example of Using SSH Port Forwarding for Replication
This is just a more specific example of Replicating over SSH Port Forwarding <http://www.vestasys.org/doc/notes/ssh-repl/>, Example 1.
At your site, there might already be a workstation or 2 listed in the #replicate-from attrib of /vesta/. In that case, easiest thing to do is just log into one of them.
And if you already have an account on dev.vestasys.org, you can use that as your SSH server.
The hosts in play, then, can be:
workstation.site.company.com: Choose one that's already in #replicate-from. The user will run the replicator here, which is behind the corporate firewall and is a client of the repository behind the firewall
xyz-vesta.site.company.com: The source/destination repository behind the corporate firewall
workstation.site.company.com: The user will also run the SSH client on their workstation
dev.vestasys.org: The user's Linux machine at home on a broadband connection, which will be used as an SSH server.
pub.vestasys.org: The source/destination repository on the public internet
With this setup, user creates the port forwarding with
workstation.site.company.com% ssh -L 21776:pub.vestasys.org:21776 -g <username>@dev.vestasys.org
and then the same vrepl command as http://www.vestasys.org/doc/notes/ssh-repl/ :
workstation.site.company.com% vrepl -s workstation.site.company.com:21776 -e@ /vesta/vestasys.org/vesta/release/LAST/linux_i386.main.ves