Sysadmin/Add virtual machine: Difference between revisions

No edit summary
No edit summary
Line 26: Line 26:
   
   
  # generate host keys and a key for root
  # generate host keys and a key for root
  ssh-keygen -q -N "" -f /etc/ssh/ssh_host_rsa_key -t rsa
  ssh-keygen -N "" -f /etc/ssh/ssh_host_rsa_key -t rsa
  ssh-keygen -q -N "" -f /etc/ssh/ssh_host_dsa_key -t dsa
  ssh-keygen -N "" -f /etc/ssh/ssh_host_dsa_key -t dsa
  ssh-keygen -q -N "" -f /root/.ssh/id_rsa -t rsa
  ssh-keygen -N "" -f /root/.ssh/id_rsa -t rsa


* Install <code>/root/.ssh/id_rsa.pub</code> key on <code>sugarbackup@backup.sugarlabs.org</code>
* Install <code>/root/.ssh/id_rsa.pub</code> key on <code>sugarbackup@backup.sugarlabs.org</code>