# ChatGPT Desktop quietly hands your SSH keys to remote machines

Original title: ChatGPT Desktop forwards your SSH agent to remote machines

> Hacker News story 50422628 · language: en · submitted 2026-11-09
> Web version: https://zeli.app/story/50422628
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 214 · by [DenGorbachev](<https://news.ycombinator.com/user?id=DenGorbachev>) · 💬 77
[HN discussion](<https://news.ycombinator.com/item?id=50422628>)

## Summary

A Hacker News post points out that ChatGPT Desktop forwards your local SSH agent to remote machines, so an agent running remotely can authenticate with your own credentials — for instance, pushing to your private GitHub repos. A linked pull request discussion in the openai/codex repo serves as proof. One commenter suggests storing SSH keys in the macOS secure enclave so every new session needs a fingerprint.

## Key quote

> The agent running on a remote machine can authenticate using your local SSH credentials. That means it can push to your private repos on GitHub, for example.

## HN discussion (77 comments)

### [recsv-heredoc](<https://news.ycombinator.com/item?id=50423388>)

> It's amazing how often product decisions head this way for the purposes of 'removing friction'.
>
> In security, friction is a GOOD thing. You want to have some ceremony to do things. It's pretty much inevitable that people will give up control for convenience.
>
> Look at Artifacts for example.

### [Lukas_Skywalker](<https://news.ycombinator.com/item?id=50425575>)

> The Bitwarden desktop app has a built in SSH agent [1], which lets you store SSH keys inside Bitwarden. I have set the app to always ask me for confirmation when the key is requested.
>
> [1] https://bitwarden.com/help/ssh-agent/

### [littlecranky67](<https://news.ycombinator.com/item?id=50423130>)

> I'd suggest to use ssh keys inside the secure enclave on macOS that require your fingerprint for every new session [0]. That way agents cannot initiate anything, and you will always be aware when a new ssh connection is being made.
>
> [0]: https://gist.github.com/arianvp/5f59f1783e3eaf1a2d4cd8e952bb...

### [yfontana](<https://news.ycombinator.com/item?id=50425064>)

> I don't understand what the linked pull request is supposed to prove, considering it was closed and not merged.

### [carterschonwald](<https://news.ycombinator.com/item?id=50426454>)

> this is a normal ssh feature meant to allow keys to be used while keeping keys local …
>
> its actually a keystone of secure infrastructure setups, aka jump hosts.
>
> granted its meant for human or scripted uses, as is everything else

---

## Cite

- Page: https://zeli.app/story/50422628
- Date: 2026-11-09
- Hacker News: https://news.ycombinator.com/item?id=50422628

## Other languages

- zh: https://zeli.app/zh/story/50422628 · markdown: https://zeli.app/zh/story/50422628.md
- ja: https://zeli.app/ja/story/50422628 · markdown: https://zeli.app/ja/story/50422628.md
- ko: https://zeli.app/ko/story/50422628 · markdown: https://zeli.app/ko/story/50422628.md
- de: https://zeli.app/de/story/50422628 · markdown: https://zeli.app/de/story/50422628.md
- es: https://zeli.app/es/story/50422628 · markdown: https://zeli.app/es/story/50422628.md
- ru: https://zeli.app/ru/story/50422628 · markdown: https://zeli.app/ru/story/50422628.md
