跳到主要内容

6. 连接到 Agent (Connecting to an Agent)

agent 通过面向连接 (connection-oriented) 的端点暴露. 类 Unix 系统通常使用基于文件系统的 Unix 域套接字 (Unix domain socket). Microsoft Windows 通常使用 Windows 命名管道 (Windows Named Pipe).

端点的访问 SHOULD 按照第 10 节的讨论进行控制. 端点通常通过 SSH_AUTH_SOCK 环境变量暴露, 尽管实现 MAY 使用每个用户的隐式默认位置.