ChatGPT Desktop forwards your SSH agent to remote machines
- ID
- 44748
- Status
- summarized
- Published
- 09 Nov 2026, 4:17 PM
- Fetched
- 10 Nov 2026, 4:28 AM
- Provider
- Hacker News
- Category
- dev-community
- Original URL
- https://news.ycombinator.com/item?id=50422628
- Source URL
- https://hnrss.org/best
Summary
- Score
- 7.5
- Created
- 10 Nov 2026, 4:28 AM
- Tags
- Audience
- developersvibe_codersai_agent_userssaas_founders
What happened
A Hacker News thread (192 points, 63 comments) reports that ChatGPT Desktop forwards your local SSH agent to remote machines, so an agent running remotely can authenticate using your local SSH credentials — for example, pushing to your private GitHub repos. The poster links proof in a discussion on a PR in the openai/codex repository. Commenters split between arguing that friction is a security feature and warning about 'confirmation fatigue' making users blindly approve agent actions.
Why it matters
If you point a desktop AI agent at a remote dev box with SSH agent forwarding on, that remote session can sign Git operations as you — so a mistake or prompt injection there reaches every repo and server your key unlocks. Decide now whether to scope remote agent work to a dedicated per-session key or deploy key limited to one repo, rather than your everyday agent with full access.
Discussion angle
Where should the approval boundary sit: filtering individual SSH signing requests, or handing the agent a narrowly scoped key per session? Ask who in the room has agent forwarding on right now and what their key can reach.