Are you really generating a separate keypair for each server? Why?<p>Why not generate one key pair on your management host, and then use the standard "ssh-copy-id" command to push the public key out to each managed server?
Wait, it's creating a separate public key in your home directory on every device listed, all with the same (plaintext!) passphrase, then sets up every device to SSH to any other one? Smells like bad practice!
It seems to be down for me.<p>Here's the Google cache:
<a href="http://webcache.googleusercontent.com/search?q=cache%3Ahttp%3A%2F%2Fblog.mediafederation.com%2Fandy-hawkins%2Fssh-keygen-distribution-skd-install-ssh-keys-automatically%2F&ie=utf-8&oe=utf-8" rel="nofollow">http://webcache.googleusercontent.com/search?q=cache%3Ahttp%...</a>
This seems wrong and overengineered for so many reasons. PHP, really? A simple one-line script will suffice to copy keys with ssh-copy-id or similar. (It gets even simpler if you use something like dsh or Capistrano.)