ssh-keygen -t dsa
, make sure it has no password, accept the defaults
su cscfdhcp 'rsync -e ssh -a cscf.cs:~/backup/dipaas ~'
* * * * * /usr/local/bin/php dipaas/dipaas.php
cscfdhcp ALL=NOPASSWD:/usr/local/etc/rc.d/isc-dhcpd restart
cscfdhcp ALL=NOPASSWD:sudo /etc/init.d/dhcp3-server restart
cscfdhcp ALL=NOPASSWD:/sbin/service dhcpd restart
0,15,30,45 * * * * /usr/local/etc/rc.d/isc-dhcpd restart > /dev/null 2>&1
php dipaas/dipaas.php
, verify and accept SSH host keys
cd ~cscfdhcp/dipaas; ./whoismaster
cd ~cscfdhcp/dipaas; ./master.lock
./forceupdate
./master.unlock
php dipaas.php dofullupdate
ssh-keygen -t dsa
overwriting the default ~/.ssh/id_dsa
cp ~/.ssh/id_dsa.pub ~/.ssh/authorized_keys
include "/home/cscfdhcp/dipaas/etc/dhcpd-global.conf";
shared-network CSNets { include "/home/cscfdhcp/dipaas/etc/dhcpd-csnets.conf"; }
php dipaas/dipaas.php