Skip to content
Snippets Groups Projects
Commit 9b612c27 authored by Moises Sacal's avatar Moises Sacal
Browse files

Update README.md

parent 7d994785
Branches
No related merge requests found
......@@ -56,12 +56,14 @@ ssh-keygen -t rsa -C "ansible@myremotemachine" -f "$(pwd)/keys/myremotemachine.i
Add it to authorized_keys
```
sudo mkdir /home/ansible/.ssh/
sudo touch /home/ansible/.ssh/authorized_keys
sudo chmod 700 /home/ansible/.ssh
sudo chmod 700 /home/ansible/.ssh/authorized_keys
sudo chown -R ansible:ansible /home/ansible
sudo cat $(pwd)/keys/HOSTNAME.id_rsa.pub >> /home/ansible/.ssh/authorized_keys
```
#### Step 4. Control Node: Add this key to host.live (Defined in ansible.cfg)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment