edit · history · print

Updating hostkeys on all machines

On CE:

 cp -fv /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts.bak
 echo "" > /etc/ssh/ssh_known_hosts
 /opt/edg/sbin/edg-pbs-knownhosts
 pscp -h wn-list.conf /etc/ssh/ssh_known_hosts /etc/ssh/

NB: echo "" might break the execution of work, if stage-in/out are started exactly at this time. Possible solutions: pause maui queue or change /opt/edg/etc/edg-pbs-knownhosts.conf to write output to some other file, then overwrite /etc/ssh/ssh_known_hosts.

edit · history · print
Page last modified on July 30, 2007, at 12:17 PM