Justin Oros
81d0bebd5e
setup-spoke.sh: write hub host key to root's known_hosts during keyscan to prevent host key prompt during tunnel test
2026-04-19 21:58:29 -07:00
Justin Oros
b76e890857
setup-spoke.sh: print exact authorized_keys command with public key when displaying hub key instructions
2026-04-19 21:32:23 -07:00
Justin Oros
1cc50f8ff0
compose.yaml, setup-spoke.sh: replace named Docker volume with host directory for syncthing config, reset compose.yaml to generic placeholders, remove volume permission fix step
2026-04-19 15:35:13 -07:00
Justin Oros
48ba67e351
setup-spoke.sh: fix syncthing-config volume ownership before starting containers
2026-04-19 14:22:49 -07:00
Justin Oros
5a9e55b673
setup-spoke.sh: replace manual hub instructions with onboard-spoke.sh next step prompt
2026-04-19 14:09:30 -07:00
Justin Oros
e5bdf95dcf
setup-spoke.sh: replace ~ with full paths and clarify hub user in completion message
2026-04-19 14:07:17 -07:00
Justin Oros
0553420d04
setup-spoke.sh: add docker-cli to apt install list
2026-04-19 14:00:25 -07:00
Justin Oros
4cdddd649d
setup-spoke.sh: add option to choose existing key from ~/.ssh/ in SSH key setup menu
2026-04-19 13:52:29 -07:00
Justin Oros
0fd7d94d58
setup-spoke.sh: redirect find_free_port warn output to stderr to prevent contamination of TUNNEL_PORT variable
2026-04-19 13:46:07 -07:00
Justin Oros
f3c9cf2344
setup-spoke.sh: change password auth disable default to N and add warning to wait until after onboard-spoke.sh
2026-04-19 13:14:52 -07:00
Justin Oros
4e1e9282ac
setup-spoke.sh: use docker.io and docker-compose instead of docker-compose-plugin for apt installs
2026-04-19 12:37:19 -07:00
Justin Oros
07f4601bad
setup-spoke.sh: replace docker.io apt install with Docker official install script to fix docker-compose-plugin availability
2026-04-19 11:45:07 -07:00
Justin Oros
9e4fba591a
compose.yaml, setup-spoke.sh: scope syncthing mount to data directory only, move config/certs to named Docker volume, syncthing.sh: update add folder path example
2026-04-18 21:08:22 -07:00
Justin Oros
63197799b8
setup-hub.sh: fix sed delimiter for PasswordAuthentication/PubkeyAuthentication, guard authorized_keys creation, setup-spoke.sh: fix sed delimiter, validate spoke name charset, make find_free_port vars local, offboard-spoke.sh: validate spoke name charset, setup-network.sh: replace brittle SSID grep with python3 regex
2026-04-18 14:39:01 -07:00
Justin Oros
128b41ede9
setup-hub.sh: fix sed delimiter and add file dep, onboard-spoke.sh: fix rclone append newline guard and keyscan key-type dedup, offboard-spoke.sh: fix crontab empty check and add timestamped backup, setup-network.sh: replace single bak with timestamped backup, compose.yaml: replace syncthing host network with explicit port bindings
2026-04-18 14:31:10 -07:00
Justin Oros
f3792a38fc
setup-spoke.sh: fix port scan range and user@host sed regex, offboard/onboard-spoke.sh: fix registry grep-v empty-output clobber, setup-network.sh: fix wifi password colon handling
2026-04-18 14:25:24 -07:00
Justin Oros
e450456638
spoke/setup-spoke.sh
...
Fix check_permissions to check group bits; fix ssh-keyscan dedup to iterate per key type; fix HUB_USER@HUB_HOST sed regex to handle trailing whitespace
hub/offboard-spoke.sh
Drop root requirement; fix crontab running as root; fix registry .tmp not cleaned on failure
hub/onboard-spoke.sh
Fix registry .tmp not cleaned on failure; chmod 600 key immediately after generation
hub/setup-hub.sh
Check permissions on existing SSH private keys in setup
2026-04-18 14:12:05 -07:00
Justin Oros
d925cd944a
onboard-spoke.sh: remove comment syntax from manual key instructions
...
setup-spoke.sh, setup-network.sh: fix check_permissions false alarm on pubkeys, TUNNEL_UP boolean comparison, DNS_YAML trailing newline, backup file guard
2026-04-18 14:07:02 -07:00
Justin Oros
74e1a9d1a0
offboard-spoke.sh: run as root, remove sudo from python3 install
2026-04-18 14:04:24 -07:00
Justin Oros
535c8a47cb
fix hardcoded armbian hub key name in setup instructions; init KEY_NAME
2026-04-18 13:54:22 -07:00
Justin Oros
1b4a2c7ab5
fix hardcoded syncthing PUID/PGID in compose.yaml sed
2026-04-18 13:47:12 -07:00
Justin Oros
72a58cc390
fix SSH service detection across distros; fix misleading key copied message
2026-04-18 13:43:33 -07:00
Justin Oros
9e6a6f2222
fix compose.yaml sed: known_hosts collision, hub user/host, syncthing mount path, var ordering
2026-04-18 13:41:13 -07:00
Justin Oros
99c006747a
fix compose.yaml key volume sed pattern; clean up compose.yaml
2026-04-18 13:39:30 -07:00
Justin Oros
e3bb7fb1ca
fix known_hosts dedup in setup-spoke; handle ssh-copy-id failure in onboard-spoke
2026-04-18 13:37:35 -07:00
Justin Oros
aeda90799d
fix KEY_PATH init, compose.yaml sed, registry write, known_hosts dedup, fusermount3 compat
2026-04-18 13:34:59 -07:00
Justin Oros
a02a83cae4
fix execute permissions on scripts
2026-04-16 13:53:48 -07:00
Justin Oros
664bdeaed4
fix function ordering, permission check chains, and known_hosts check timing in setup-spoke.sh
2026-04-16 13:14:27 -07:00
Justin Oros
58f6445c72
add check_deps function and dependency checks to all scripts
2026-04-16 13:05:45 -07:00
Justin Oros
08799f0f7f
add SSH key permission checks with auto-fix to hub and spoke scripts
2026-04-16 12:58:06 -07:00
Justin Oros
a79b1c59b8
move password auth prompt to after SSH key setup in setup-spoke.sh
2026-04-16 10:44:12 -07:00
Justin Oros
7e64156026
fix double brace artifacts and missing SSHD_CONF in setup-spoke.sh
2026-04-16 10:42:58 -07:00
Justin Oros
3d366cd74a
add disable password auth prompt with SSH restart warning to hub and spoke scripts
2026-04-16 10:42:04 -07:00
Justin Oros
d080db1db8
fix hardcoded armbian path in compose volume mount sed replacement
2026-04-16 10:37:55 -07:00
Justin Oros
37e3e91239
fix ARMBIAN_HOME unbound variable, retry_or_abort quoting, and hardcoded path in sed
2026-04-16 10:36:54 -07:00
Justin Oros
7676a907ee
add SPOKE_USER prompt and replace all hardcoded armbian references in setup-spoke.sh
2026-04-16 10:35:50 -07:00
Justin Oros
e5ecdca3ff
add multi-distro package manager support to setup-spoke.sh
2026-04-16 10:34:06 -07:00
Justin Oros
384cf476ff
replace hardcoded hub references with prompts, defaults: oily.dad / armbian / hubkey
2026-04-16 10:13:48 -07:00
Justin Oros
b8d2a3e5bc
fix SPOKE_DIR path and replace hardcoded finn/oily.dad with dynamic HUB_HOST
2026-04-16 10:05:25 -07:00
Justin Oros
a49f830ed2
prompt user for hub hostname with oily.dad as default
2026-04-16 10:03:35 -07:00
Justin Oros
96c737709c
restructure: add setup.sh entry point, move scripts to spoke/ and hub/
2026-04-16 09:53:30 -07:00