'Configure passwordless ssh for user between this Node and nodes'

def enable_passwordless_ssh(self, username, nodes):

    user = self.getpwnam(username)
    ssh_folder = posixpath.join(user.pw_dir, '.ssh')
    priv_key_file = posixpath.join(ssh_folder, 'id_rsa')
    pub_key_file = (priv_key_file + '.pub')
    known_hosts_file = posixpath.join(ssh_folder, 'known_hosts')
    auth_key_file = posixpath.join(ssh_folder, 'authorized_keys')
    self.add_to_known_hosts(username, nodes)
    nodes = filter((lambda n: (n.id != self.id)), nodes)
    self.copy_remote_file_to_nodes(priv_key_file, nodes)
    self.copy_remote_file_to_nodes(pub_key_file, nodes)
    self.copy_remote_file_to_nodes(auth_key_file, nodes)
    self.copy_remote_file_to_nodes(known_hosts_file, nodes)
