'Given a list of source paths and a destination path, produces the
appropriate scp command for encoding it. Remote paths must be
pre-encoded.'

def _make_scp_cmd(self, sources, dest):

    command = "scp    -rq    %s    -o    StrictHostKeyChecking=no    -o    UserKnownHostsFile=%s    -P    %d    %s    '%s'"
    return (command % (self.master_ssh_option, self.known_hosts_file, self.port, '    '.join(sources), dest))
