This repository has been archived on 2026-07-09. You can view files and clone it, but cannot push or open issues or pull requests.
agent-knowledge-base-archived/problems/2026-05-24-pump-github-ssh-push-blocked.md
2026-05-24 15:00:03 +03:00

2.2 KiB

Pump GitHub SSH Push Blocked

Status

Resolved on 2026-05-24.

Symptoms

On pump, direct access to krustophski/agent-knowledge-base was not authenticated:

  • git clone https://github.com/krustophski/agent-knowledge-base.git returned GitHub Repository not found.
  • The GitHub connector returned NOT_FOUND for krustophski/agent-knowledge-base.
  • ssh -T git@github.com failed with Permission denied (publickey).
  • git push --dry-run origin HEAD from B:\git\agent-knowledge-base failed with the same publickey error.

Environment

  • Machine: pump
  • OS: Windows 10 Pro
  • Git: 2.53.0.windows.2
  • OpenSSH client: OpenSSH_for_Windows_9.5p2
  • GitHub CLI: not found in PATH
  • SSH agent: stopped and disabled
  • Public SSH keys: none found in C:\Users\post\.ssh; only known_hosts was present
  • Knowledge-base working tree used: B:\git\agent-knowledge-base, mapped from \\wuu\C\git\agent-knowledge-base

Likely Root Cause

pump does not currently have GitHub credentials available to this Codex session. The mapped B: working tree can be edited locally, but pushing to GitHub still uses pump's SSH/client environment, not wuu's.

Resolution Options

The chosen non-secret setup path was:

  1. Create a dedicated local ed25519 key for pump.
  2. Add only its public key to GitHub account krustophski.
  3. Verify GitHub SSH with that key.
  4. Configure local repository core.sshCommand so B:\git\agent-knowledge-base uses that key automatically.
  5. Push the pending commit to main.

Do not store SSH private keys, GitHub tokens, OAuth cookies, or recovery codes in this repository.

Verification

$key=Join-Path $env:USERPROFILE '.ssh\github_pump_agent_knowledge_base_ed25519'
ssh -i $key -o IdentitiesOnly=yes -o BatchMode=yes -T git@github.com
git -C B:\git\agent-knowledge-base -c safe.directory='*' config core.sshCommand "ssh -i C:/Users/post/.ssh/github_pump_agent_knowledge_base_ed25519 -o IdentitiesOnly=yes"
git -C B:\git\agent-knowledge-base -c safe.directory='*' push origin HEAD:main

Observed result:

  • GitHub identified the user as krustophski.
  • Push succeeded: 8fc25d2..46598d2 HEAD -> main.
  • locations/pump.md
  • agent-bus/heartbeats/pump.md