

def proxycommand_with_instance(self, instance):
    instance_ssh_info = instance.init_ssh_key()
    instance_ssh_args = instance.ssh_args_from_info(instance_ssh_info)
    ssh_args = ['nohup', 'ssh']
    ssh_args.extend(instance_ssh_args)
    ssh_args.extend(['-W', ('%s:%s' % (self.get_host(), self.get_port()))])
    return shjoin(ssh_args)

dataset/ETHPy150Open ployground/ploy/ploy/common.py BaseInstance.proxycommand_with_instance/original