---
title: "ChatGPT Desktop forwards your SSH agent to the machines its agent runs on: your keys, its repos"
url: "https://xlrocket.men/chatgpt-desktop-forwards-your-ssh-agent-to-the-machines-its-agent-runs-on-your-keys-its-repos"
markdown_url: "https://xlrocket.men/chatgpt-desktop-forwards-your-ssh-agent-to-the-machines-its-agent-runs-on-your-keys-its-repos.md"
format: "link"
published: "2026-11-09T12:18:06.000Z"
link_url: "https://dev.to/slabb/chatgpt-desktop-forwards-your-ssh-agent-to-the-machines-its-agent-runs-on-your-keys-its-repos-359h"
site: "火箭君 MEN"
---

# [ChatGPT Desktop forwards your SSH agent to the machines its agent runs on: your keys, its repos](https://dev.to/slabb/chatgpt-desktop-forwards-your-ssh-agent-to-the-machines-its-agent-runs-on-your-keys-its-repos-359h)

译：ChatGPT Desktop 转发本机 SSH agent

- Codex/app-server 有 `--forward-ssh-agent`；远端 Agent 进程可静默用你的密钥签名
- 能力转移：可推私仓/登你配置过的主机；属设计功能而非偶然泄露
- 加固：`ssh-add -c` 每次确认，或硬件密钥；Agent 会话勿常驻已加载身份
