From ce93e7ee960e8559f6e554bda495c519eec4a7dc Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sun, 10 Sep 2023 21:00:15 -0400 Subject: [PATCH] clarify docs --- README.md | 6 ++++++ inventory.example.yml | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4491feb..ba57a65 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,12 @@ The intended topology is a bastion host facing the Internet, with reverse proxie - Copy `inventory.example.yml` to `inventory.yml`. - Write down the machines' DHCP addresses inside `inventory.yml` under the `fallback_host` field. - Assign static LAN IP addresses for your machines in the inventory. +- Create ssh keys for all your hosts: + ``` + mkdir -p ~/.ssh/keys + ssh-keygen -t ed25519 -f ~/.ssh/keys/your_host_name + ``` + It is important for the hostnames to match your inventory hostnames. - Set up your domain name and networks. - Forward all needed ports to your bastion host's static IP. diff --git a/inventory.example.yml b/inventory.example.yml index e077802..01e0315 100644 --- a/inventory.example.yml +++ b/inventory.example.yml @@ -5,8 +5,7 @@ # Set fallback_host using `nmap 192.168.0.0/24 -p 22` to find the dynamic IP of your Pi # local_ip is used after first setup. -# Make sure to make entries in your .ssh/config for each hostname -# Otherwise Ansible doesn't know how to resolve them +# Make entries in your .ssh/config for ease of use # Example: # # Host your_fleet_host