Open main menu

CDOT Wiki β

Changes

OPS335 Lab 1

327 bytes added, 11:54, 21 January 2016
no edit summary
You can transfer the public key to a remote server using either of the following methods:
<ul><li>You are going to share the public key from the root user in your hostname with the root user of your vm1.</li><li>Make certain you are logged on as '''root'''.</li><li>Copy contents of your '''~/.ssh/id_rsa.pub''' from your host machine, and append the contents to '''~/.ssh/authorized_keys''' on each of your Virtual Machine servers</li><li>Simply issue the Linux command '''ssh-copy-id -i ~/.ssh/id_rsa.pub username@server'''<br><br>In your case: ssh-copy-id -i ~/.ssh/id_rsa.pub root@IPADDR_for_vm1</li></ul>
# Make certain that your '''vm1''' machine is running.
# Make certain that you are logged in as '''root''' user on your host machine.# Make certain that the '''rsync ''' command is installed on your host machine and all your vms.
# On your '''host machine''', run the following commands:
13,420
edits