fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Internal SSH'ing


From: Jeff Forcier
Subject: Re: [Fab-user] Internal SSH'ing
Date: Mon, 6 Aug 2012 20:23:01 -0700

Hi Bruno,

On Mon, Aug 6, 2012 at 6:55 PM, BRAGA, Bruno <address@hidden> wrote:
> Hi,
>
> I have a system in which I can only get a single SSH entry point to the
> private network, and from there, propagate application deployments across
> multiple servers... Is there a way to achieve this with Fabric?

Others have presented some of these, but workarounds include:

* copying the fabfile itself to the gateway system and calling 'fab'
on the gateway
* writing a run() wrapper that prefixes the command with 'ssh', e.g:
def grun(cmd): run('ssh realtarget "%s"' % cmd)
    * This can get thorny due to adding another layer of quoting, but
for simple stuff may work fine
* trying out the monkeypatches posted here:
https://github.com/fabric/fabric/issues/38
    * Which should hopefully get merged soon, so keep an eye out.

Best,
Jeff

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]