Skip to content- Sources: discussion
- Summary: A text post claiming that ChatGPT Desktop forwards the user's SSH agent so a remote agent can push to private repos drew 202 points and 68 comments on 2026-11-09. Its only evidence is a review comment on an openai/codex pull request that several commenters point out was closed without merging and described as opt-in. The thread turned into a broader discussion of how to limit what agents can do with local keys.
- Why it matters: Agent tools that open SSH sessions can reach any key loaded in the local agent unless forwarding is disabled or each signature needs a physical confirmation.
- Comments: Commenters recommend ForwardAgent no as the default in ssh config, ProxyJump instead of agent forwarding for jump hosts, and keys that need a touch or Touch ID per use, such as ed25519-sk keys on a YubiKey or Secure Enclave keys through Secretive. Others note Docker Desktop and DevPod have also injected agent forwarding into ssh config.