Sysadmin/Add virtual machine: Difference between revisions

No edit summary
Line 27: Line 27:
  ssh-keygen -q -N "" -f /etc/ssh/ssh_host_dsa_key -t dsa
  ssh-keygen -q -N "" -f /etc/ssh/ssh_host_dsa_key -t dsa
  ssh-keygen -q -N "" -f /root/.ssh/id_rsa -t rsa
  ssh-keygen -q -N "" -f /root/.ssh/id_rsa -t rsa
* Install <code>/root/.ssh/id_rsa.pub</code> key on <code>sugarbackup@backup.sugarlabs.org</code>
# setup backups
vi /etc/system-full-backup.conf
   
   
# setup backups (remember to install root's key on backup host)
  # log in for the first time on backup server to accept ssh fingerprint
vi /etc/system-full-backup.conf
 
  # log in for the first time on backup server to accept ssh fingerorint
  ssh sugarbackup@backup.sugarlabs.org
  ssh sugarbackup@backup.sugarlabs.org
 
  # the most important thing: come up with a funny quip for this machine
  # the most important thing: come up with a funny quip for this machine
  vi /etc/motd.tail
  vi /etc/motd.tail