Skip to content

ssh agent

ZHAO Xudong edited this page Jan 21, 2026 · 2 revisions

SSH Agent / SSH Agent (中文)

Language / 语言: English | 中文


English

What is SSH Agent

SSH Agent is a helper program that keeps track of user's identity keys and their passphrases. It allows the user to use the keys without having to re-enter passphrases every time they connect to a server.

How to use SSH Agent in Electerm

Default Behavior

Electerm enables SSH Agent support by default. When you start an SSH session, Electerm attempts to use the SSH Agent socket path defined in the environment variable SSH_AUTH_SOCK (process.env.SSH_AUTH_SOCK).

Custom Configuration

You can customize the SSH Agent behavior when creating or editing an SSH bookmark:

  1. Disable SSH Agent: You can turn off the "Use SSH Agent" switch if you do not want to use it for a specific bookmark.
  2. Custom Agent Path: If you want to use a specific agent different from the system default, you can enter the custom path in the SSH Agent input field.

中文

什么是 SSH Agent

SSH Agent 是一个用于管理用户身份密钥及其密码短语的辅助程序。它允许用户在使用密钥时无需每次连接服务器都重新输入密码短语。

如何在 Electerm 中使用 SSH Agent

默认行为

Electerm 默认启用 SSH Agent 支持。当您启动 SSH 会话时,Electerm 会尝试使用环境变量 SSH_AUTH_SOCK (process.env.SSH_AUTH_SOCK) 中定义的 SSH Agent 套接字路径。

自定义配置

在创建或编辑 SSH 书签时,您可以自定义 SSH Agent 的行为:

  1. 禁用 SSH Agent:如果您不想为特定书签使用 SSH Agent,可以关闭“使用 SSH Agent”开关。
  2. 自定义 Agent 路径:如果您想使用与系统默认设置不同的特定 Agent,可以在 SSH Agent 输入框中输入自定义路径。

Clone this wiki locally