Update ReadMe

This commit is contained in:
madereddy
2023-12-12 15:30:10 -05:00
parent 4e8d88c7a4
commit 0644cc47a0
+12 -1
View File
@@ -71,10 +71,21 @@ To get started, clone the github repo that goes along with this post:
Before jumping into Ansible playbooks, it's crucial to establish a secure and efficient way to connect to your remote machines. SSH key-based authentication offers a more secure alternative to traditional password-based methods.
Add the Public Key to the /.ssh/authorized_keys found on Vaultwarden Secure Notes.
Add the Public Key to the /.ssh/authorized_keys which is found on the ansible machine.
```
ssh-copy-id -i ~/.ssh/id_ed25519 user@remote1
```
If the ansible machine is not available, you can directly modify the /.ssh/authorized_keys file and add the public key found on Vaultwarden Secure Notes.
Restart the SSHD Service
```
sudo systemctl restart sshd
```
Verify you can log in using the Private Key.
## Section 2: Crafting Your Ansible Inventory File