The object is to set up n number of ssh tunnels between satellite servers and a centralized registry database. I have already set up public key authentication between my servers
Is there a special reason not to just do it with ssh, the usual
ssh
(ssh -L :localhost: )
minuet? Anyway, this script is an example of local port forwarding (AKA tunneling).