def remote(self, host, cmd='scp', src=None, dest=None, test=False):
        d = {
            'cmd':cmd,
            'src':src,
            'dest':dest,
            'host':getattr(host, 'public_dns_name', str(host)),
            'switches': ''
        }

        d['switches'] += " -i %s " % self.config['credential']

        if cmd == 'scp':
            template = '%(cmd)s %(switches)s -o "StrictHostKeyChecking no" %(src)s root@%(host)s:%(dest)s' 
        else:
            template = 'ssh %(switches)s -o "StrictHostKeyChecking no" root@%(host)s "%(cmd)s" '

        cmdline = template % d  
        
        print "Trying: ", cmdline
        if not test:
            return os.system(cmdline)
Fake for urllib.proxy_bypass_macosx_sysconf for Python 2.6.0 to 2.6.3.
dataset/ETHPy150Open abhik/pebl/src/pebl/taskcontroller/ec2ipy1.py/EC2Cluster.remote--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/dev_appserver_import_hook.py/FakeProxyBypassMacOSXSysconf