sync: auto-sync from HOWARD-HOME at 2026-06-16 00:40:03

Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-06-16 00:40:03
This commit is contained in:
2026-06-16 00:40:12 -07:00
parent 633a2e16bb
commit b93cf02106
9 changed files with 211 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ VAULT="$REPO/.claude/scripts/vault.sh"
AP="${1:?usage: watch-ap.sh <ap-ip> [interval] [vault-path]}"; INT="${2:-2}"; VP="${3:-clients/cascades-tucson/unifi-ap-ssh}"
U="$(bash "$VAULT" get-field "$VP" credentials.username 2>/dev/null)"
P="$(bash "$VAULT" get-field "$VP" credentials.password 2>/dev/null)"
[ -n "$U" ] && [ -n "$P" ] || { echo "[ERROR] no device-auth cred at vault:$VP"; exit 1; }
[ -n "$U" ] && [ -n "$P" ] || { echo "[BLOCKED] no AP device-auth cred at vault:$VP"; echo " Vault this client's cred: bash .claude/skills/vault/scripts/vault-helper.sh new $VP --kind generic --name '<Client> UniFi AP device-auth SSH' --tag unifi --set username=<u> --set password=<pw>"; exit 2; }
# Auth method: sshpass if available, else SSH_ASKPASS fallback (no sshpass needed).
SSH_OPTS=(-o ConnectTimeout=8 -o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=/dev/null \