#! /bin/bash ## This is a follow-up script for http://www2.fizik.usm.my/configrepo/howto/linux/ssh_wo_passwd_to_all_PCs ## Make sure that the intended nodes has already a folder $HOME/.ssh/ before the pub key is copied there. ssh-copy-id -i ~/.ssh/id_rsa.pub comsics.usm.my ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.19.225 #anicca #ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.19.9 #chakra, old ip ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.18.205 #chakra ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.19.205 #www2 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.19.28 #comsics28 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.18.32 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.19.9 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.19.188 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.19.83 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.18.119 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.19.114 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.19.121 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.18.115 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.18.230 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.19.37 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.19.95 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.18.242 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.19.115 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.19.169 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.19.3 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.18.170 ssh-copy-id -i ~/.ssh/id_rsa.pub 10.205.19.14