How to Stop a Coding Agent Desktop App From Using Your Forwarded SSH Agent Keys on Remote Hosts
The Codex app inside ChatGPT Desktop links any forwarded SSH agent on a remote host to a stable socket that its long-lived app server and every agent command inherit. How the link works, how to check whether your keys are exposed, a dedicated ssh_config alias with ForwardAgent no and IdentityAgent none, why turning forwarding off does not cut a link that is still live, and how to scope keys with ssh-add -c, -t and -h when the agent really needs git.