You are here: 7.0 Creating SSH Shared Keys for Cluster Users | |
7.0 Creating SSH Shared Keys for Cluster Users | ![]() |
So that you do not have to manually copy the files created by the job, set up SSH shared keys for all your regular users on all of the compute nodes. To create a public and private key, do the following:
> ssh-keygen -t rsa
> for i in node01 node02 node03; do ssh -o StrictHostKeyChecking=no ${i} hostname; done
> cat .ssh/id_rsa.pub >> .ssh/authorized_keys
> for i in node04 node05 node06; do ssh ${i} mkdir .ssh; done
> for i in node01 node02 node03; do scp -r .ssh/id_rsa.pub ${i}:~/.ssh; done
> for i in node01 node02 node03; do scp -r .ssh/authorized_keys ${i}:~/.ssh; done
![]() | For information about automating SSH key creation, see the Automating the Home Directory and SSH Key Creation documentation. |
Copyright © 2011 Adaptive Computing Enterprises, Inc.®