I think you're looking for
http://docs.fabfile.org/en/1.7/api/core/context_managers.html#fabric.context_managers.remote_tunnel
?

On Wed, Sep 11, 2013 at 4:31 AM, Thomas Güttler <h...@tbz-pariv.de> wrote:
> Hi,
>
> our remote hosts can't connect to the internet or to our network.
>
> We need ssh port forwarding if the remote host wants to fetch new data.
>
> Example: we want to call "git pull" on the remote host and the connection
> to our local git-server needs to go through the port forwarded.
>
> I found this gist: https://gist.github.com/shnjp/856179
>
> Is this the way to go?
>
> It would be nice to have this built in into fabric :-)
>
> Regards,
>   Thomas Güttler
>
> _______________________________________________
> Fab-user mailing list
> Fab-user@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/fab-user



-- 
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org

_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to