krz/omaha-metro-blotter

Archive of police activity and ALPR surveillance across the Omaha metro. alpr archive omaha police surveillance

Commit 9f46bbe627

9f46bbe6276d827173ae41e82f57d18bfb2d55b8

parent: 78d4c2ac2f

Verified · cmc ci/daily-pull: failure

cmc <hello@cleberg.net> · 2026-09-10 03:25 UTC

ci: write the ssh config where ssh reads it

ssh expands ~ from the passwd entry, /root in the container, while the
shell's ~ is the build home. The config landed where ssh never looked
and every connection failed host key verification.

Layout: unified · split

.gitbay/ci.yml +5 −2
@@ -22,8 +22,11 @@ jobs:
2222 test -n "$GITBAY_SSH" || { echo "ERROR: GITBAY_SSH is not set; the runner is too old"; exit 1; }
2323 umask 077
2424 printf '%s\n' "$BOT_SSH_KEY" > "$PWD/.bot_key"
25 mkdir -p ~/.ssh
26 printf 'Host %s\n IdentityFile %s\n IdentitiesOnly yes\n StrictHostKeyChecking accept-new\n' "${GITBAY_SSH#*@}" "$PWD/.bot_key" > ~/.ssh/config
25 # ssh expands ~ from the passwd entry, not $HOME; in the build's
26 # container that is /root while $HOME is the build home.
27 sshhome=$(getent passwd "$(id -u)" | cut -d: -f6)
28 mkdir -p "$sshhome/.ssh"
29 printf 'Host %s\n IdentityFile %s\n IdentitiesOnly yes\n StrictHostKeyChecking accept-new\n' "${GITBAY_SSH#*@}" "$PWD/.bot_key" > "$sshhome/.ssh/config"
2730 ssh "$GITBAY_SSH" whoami
2831 - |
2932 set -e