The dist_keys.sh script will generate a passwordless ssh keypair for the user id who is logged in, and distribute the public half of the keypair to the hosts listed in the nodes.txt file. This user must exist with a home directory on all nodes in the cluster for the scripts to work properly. Be aware of the risks associated with using passwordless ssh keys. dist_keys.sh can be modified to create the keys with a password, and then be propagated as normal. However, you would need to use ssh-agent to store the key in memory. This will make automation of ssh'ing and scp'ing across many nodes more difficult. Run dist_keys.sh as the user for which keys need to be distributed, and provide the script with this user's password: ./dist_keys.sh SoM3P@$$wd Before the script can do any work, it needs to pull the node names from nodes.txt. Populate nodes.txt one line at a time with the resolvable names of your cluster members. If you can ping them by name, it will work. Example nodes.txt: host1 host2 snoopy woodstock Run dist_keys.sh as the user for which keys need to be distributed, and provide the script with this user's password: ./dist_keys.sh SoM3P@$$wd