'Create a base ssh command string for the host which can be used
to run commands directly on the machine'

def _make_ssh_cmd(self, cmd):

    base_cmd = make_ssh_command(user=self.user, port=self.port, opts=self.master_ssh_option, hosts_file=self.known_hosts_file)
    return ('%s    %s    "%s"' % (base_cmd, self.hostname, utils.sh_escape(cmd)))
