#! /bin/bash ### centos6_ssh ### Configure passwordless ssh for an exising user in a node, including root. ### This script can be run in either a frontend or in a node. ### This script only takes effect after the frontend and nodes has run the centos6_frontend the respective centos6_nodeX script (and have been rebooted). ### A passwordless ssh will be established for the user running this script in the present PC to other PC in the cluster (where this PC could be the frontend of a node). ### The nfs-shared directory, /home/common/nfs, is assumed to already successfully configured and mounted in a node. In particular the following files have to be found there: ssh-agen ssh-keygen -t rsa; #say no to replacing the existing key if prompted. sh /home/common/nfs/centos6_ssh-copy-cluster