Commit Graph

128 Commits

Author SHA1 Message Date
747c8a81d8 Merge remote-tracking branch 'origin/master' into onboard-spoke-logic 2026-04-19 14:18:21 -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
1f4e8555da Merge branch 'master' into onboard-spoke-logic 2026-04-19 14:05:54 -07:00
56325a1b06 changed onboard-spoke flow 2026-04-19 14:04:12 -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
f486795154 onboard-spoke.sh: add key selection prompt for tunnel auth, use explicit -i flag for all SSH calls, clarify hub key installation header 2026-04-19 13:05:29 -07:00
Justin Oros
fe3f2c5b77 Update readme 2026-04-19 12:52:40 -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
9bdd12ebbd onboard-spoke.sh: add rclone auto-mount via crontab @reboot entry and immediate mount on onboarding 2026-04-19 11:40:47 -07:00
Justin Oros
d3a6d406d8 setup-hub.sh: change AllowTcpForwarding from yes to local to restrict forwarding to local connections only 2026-04-19 11:26:15 -07:00
Justin Oros
e74c9b45d5 etup-hub.sh: change GatewayPorts from yes to no for improved security 2026-04-19 11:21:52 -07:00
Justin Oros
600f6044ce setup-network.sh: add menu with hostname change and static IP options, fix SSID extraction quoting using heredoc 2026-04-19 11:03:56 -07:00
Justin Oros
2fe94dfe9d setup-hub.sh: remove unnecessary sudo/wheel group membership for hub user 2026-04-19 10:36:32 -07:00
Justin Oros
b735c58446 Update readme 2026-04-18 22:04:23 -07:00
Justin Oros
524321fa97 Update readme 2026-04-18 21:50:28 -07:00
Justin Oros
e9c1daccce onboard-spoke.sh: replace raise SystemExit with sys.exit(0) in union duplicate check 2026-04-18 21:47:55 -07:00
Justin Oros
6db5e9769e onboard-spoke.sh: replace grep -A5 union duplicate check with python3 for reliable section parsing 2026-04-18 21:46:48 -07:00
Justin Oros
c75b29a5ea onboard-spoke.sh: fix upstream construction for empty path with tag, replace fragile sed range with python3 for reliable union upstream append 2026-04-18 21:45:02 -07:00
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
1d4e25b6a5 syncthing.sh: auto-unshare folder from all devices before removal if shared 2026-04-18 21:21:24 -07:00
Justin Oros
0c784a672c syncthing.sh: fix remaining shell variable interpolation in python3 -c strings across add_device_by_pending, remove_device, and unshare_folder 2026-04-18 21:18:04 -07:00
Justin Oros
410def45c3 syncthing.sh: fix grep -oP portability, add curl error messages, pass shell vars as sys.argv to prevent python injection 2026-04-18 21:15:46 -07:00
Justin Oros
f1d818eae6 syncthing.sh: store container name as global ST_CONTAINER 2026-04-18 21:13:34 -07:00
Justin Oros
5017af57c9 syncthing.sh: List available folders when on Add a folder 2026-04-18 21:12:47 -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
982b8a8641 syncthing.sh, README.md: change syncthing menu to 0-based indexing 2026-04-18 18:57:36 -07:00
Justin Oros
c2aec56490 README.md: document syncthing.sh, update architecture, directory structure, script docs, backups, security, and troubleshooting sections 2026-04-18 18:50:43 -07:00
Justin Oros
e4db257f53 syncthing.sh: fix remaining f-string backslash escape in remove_folder 2026-04-18 18:44:59 -07:00
Justin Oros
b2932286d0 syncthing.sh: fix Python f-string backslash escaping in all python3 -c blocks 2026-04-18 18:42:00 -07:00
Justin Oros
866f8af073 chmod +x syncthing.sh 2026-04-18 18:39:48 -07:00
Justin Oros
e6720804dc syncthing.sh: new script for managing Syncthing devices and folders via REST API with interactive menu 2026-04-18 18:36:01 -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
26b623eef7 configure ClientAliveInterval/CountMax in setup-hub.sh 2026-04-18 13:31:14 -07:00