edit · history · print

On torque.hep.kbfi.ee:

Scan-in keys

 cd /root/ssh-keys/
 # make sure the required host is in the relevant_hosts.txt
 get_keys.sh

Note: This won't scan-in keys of the machines in down state.

Distribute keys

 cd /root/ssh-keys/
 cp ssh_known_hosts /etc/ssh
 scp ssh_known_hosts europa.hep.kbfi.ee:/etc/ssh/
 scp ssh_known_hosts mars.hep.kbfi.ee:/etc/ssh/
 scp ssh_known_hosts oberon.hep.kbfi.ee:/etc/ssh/
 scp ssh_known_hosts $new_node:/etc/ssh/

Passwordless root

 scp /root/.ssh/id_rsa.pub $new_node:/root/.ssh/authorized_keys
edit · history · print
Page last modified on August 23, 2011, at 09:15 AM