-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
ssh agent
ZHAO Xudong edited this page Jan 21, 2026
·
2 revisions
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.
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).
You can customize the SSH Agent behavior when creating or editing an SSH bookmark:
- Disable SSH Agent: You can turn off the "Use SSH Agent" switch if you do not want to use it for a specific bookmark.
- 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 是一个用于管理用户身份密钥及其密码短语的辅助程序。它允许用户在使用密钥时无需每次连接服务器都重新输入密码短语。
Electerm 默认启用 SSH Agent 支持。当您启动 SSH 会话时,Electerm 会尝试使用环境变量 SSH_AUTH_SOCK (process.env.SSH_AUTH_SOCK) 中定义的 SSH Agent 套接字路径。
在创建或编辑 SSH 书签时,您可以自定义 SSH Agent 的行为:
- 禁用 SSH Agent:如果您不想为特定书签使用 SSH Agent,可以关闭“使用 SSH Agent”开关。
- 自定义 Agent 路径:如果您想使用与系统默认设置不同的特定 Agent,可以在 SSH Agent 输入框中输入自定义路径。