If your SSH setup forwards your agent, the ChatGPT desktop app hands it to the coding agent it runs on your remote machine. That agent can then sign in wherever your keys work, GitHub included.
A Hacker News post on Monday morning (08:17 UTC) put it more bluntly: “ChatGPT Desktop forwards your SSH agent to remote machines.” As proof, the poster linked a code review comment by an OpenAI engineer.
We checked the current macOS build of the app (version 26.1103.60933, built 8 November). It doesn’t switch agent forwarding on by itself. It follows your SSH configuration, and when that says yes, it makes sure the agent’s background server keeps your keys within reach. OpenAI’s remote connections documentation doesn’t mention SSH agents at all.
Source: Privacy Affairs · 2026-11-09