'Properly configure passwordless ssh for root and CLUSTER_USER on all
StarCluster nodes'

def _setup_passwordless_ssh(self, nodes=None):

    log.info('Configuring    passwordless    ssh    for    root')
    master = self._master
    nodes = (nodes or self.nodes)
    master.generate_key_for_user('root', auth_new_key=True, auth_conn_key=True)
    master.enable_passwordless_ssh('root', nodes)
    log.info(('Configuring    passwordless    ssh    for    %s' % self._user))
    master.generate_key_for_user(self._user, auth_new_key=True, auth_conn_key=True)
    master.add_to_known_hosts(self._user, nodes)
