X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Fnew-machine.creole;h=b710da4655b43dfd17d446a592430671a31e8097;hb=41ef484c46c46f82596c590b080c6dbb70361429;hp=087eff0676a25a8911191bf69105927d911d77d2;hpb=36025d7c1a9fc7cd80e521d74e67e424ab95979c;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/new-machine.creole b/input/howto/new-machine.creole index 087eff0..b710da4 100644 --- a/input/howto/new-machine.creole +++ b/input/howto/new-machine.creole @@ -28,12 +28,12 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup * setup [[puppet|howto/puppet-setup]] (run the puppet client two or three times until things converge.) -* on draghi, add the host to /home/sshdist/.ssh/authorized_keys and generate.conf +* on draghi, add the host to /home/sshdist/.ssh/authorized_keys (you want the host's rsa host key there: {{{cat /etc/ssh/ssh_host_rsa_key.pub}}}) {{{ : :: draghi :: && sudo vi /home/sshdist/.ssh/authorized_keys - : :: draghi :: && sudo vi /etc/userdir-ldap/generate.conf }}} +* use ud-host to add the new host to LDAP * run generate, or wait until cron runs it for you {{{ : :: draghi :: && sudo -u sshdist ud-generate @@ -136,6 +136,4 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup * add to nagios -* add host to ldap: ud-host -a $USER -h .... - -- weasel, Wed, 04 Jun 2008 20:52:56 +0200