1
0
forked from finn/tinyboard
Commit Graph

38 Commits

Author SHA1 Message Date
Justin Oros
92b74d8f67 onboard-spoke.sh: add upstream access mode prompt (ro, nc, writeback) when creating or joining a union remote 2026-04-18 21:43:24 -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
72a58cc390 fix SSH service detection across distros; fix misleading key copied message 2026-04-18 13:43:33 -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
26b623eef7 configure ClientAliveInterval/CountMax in setup-hub.sh 2026-04-18 13:31:14 -07:00
Justin Oros
0f76283605 remove stale crontab dep from setup-hub.sh 2026-04-16 14:08:20 -07:00
Justin Oros
a02a83cae4 fix execute permissions on scripts 2026-04-16 13:53:48 -07:00
Justin Oros
4a1983d46d remove unused legacy scripts and rclone template 2026-04-16 13:48:28 -07:00
Justin Oros
395ab4ed0e add spoke registry, per-spoke crontab, and offboard-spoke.sh 2026-04-16 13:41:56 -07:00
Justin Oros
4c08f3b389 fix function ordering, hardcoded armbian user, and key name prefix in onboard-spoke.sh 2026-04-16 13:17:12 -07:00
Justin Oros
ccd324dc79 fix function ordering and RCLONE_CONF used before definition in setup-hub.sh 2026-04-16 13:15:40 -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
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
50fb313f9a fix hardcoded armbian string in user creation log message 2026-04-16 10:30:47 -07:00
Justin Oros
d21997af43 prompt for hub username with armbian as default, replace all hardcoded references 2026-04-16 10:29:53 -07:00
Justin Oros
95a56ef4f0 fix usermod group assignment to use if blocks instead of && chain 2026-04-16 10:26:28 -07:00
Justin Oros
b706dd211d fix pkg update handling, curl dependency, sudo group check, systemctl blocks 2026-04-16 10:25:26 -07:00
Justin Oros
c86dca283f add retry or abort prompt to all connection tests 2026-04-16 09:30:47 -07:00
Justin Oros
9015ff46c9 fix root check to use if block instead of fragile && chain 2026-04-16 09:23:36 -07:00
Justin Oros
87c08fb543 fix known_hosts ownership, ssh dir creation, and root user guard 2026-04-16 09:22:19 -07:00
Justin Oros
7bdafd316c fix keyscan validation to die early if spoke tunnel is not up 2026-04-16 09:18:40 -07:00
Justin Oros
c71ad59629 fix windows line endings in pasted key and rclone remote mount hint 2026-04-16 09:13:17 -07:00
Justin Oros
2abd6ac6a4 fix tunnel reachability check to be safe with set -e 2026-04-16 09:09:45 -07:00
Justin Oros
ccd9b205b8 fix hub onboard-spoke script: keyscan, rclone check, dir creation, tunnel verify 2026-04-16 09:08:07 -07:00
Justin Oros
f6c2c79a70 add hub onboard-spoke script to automate new spoke registration 2026-04-16 09:05:41 -07:00
62e1629db6 prepare for second tunnel 2026-04-16 00:32:37 +00:00
56dff3f22b no user systemd it's stupid 2026-04-13 14:04:48 -07:00
85df138d10 attempt service fix 2026-04-13 13:39:16 -07:00
d68f73525a checkpoint before troubleshooting systemd 2026-04-13 13:31:06 -07:00
0c182f7dcb update readme 2026-04-13 13:08:32 -07:00
05a5928a56 first pass helper script 2026-04-13 12:31:45 -07:00