Repository navigation
Aegis SSH v0.1.0
Aegis SSH v0.1.0
The first public release of Aegis SSH provides a local, cross-agent broker for operating SSH servers that require password authentication without exposing connection credentials to the agent interface.
Highlights
- Encrypted local credential vault using Argon2id and XChaCha20-Poly1305 under
~/.aegis-ssh. - Password-only SSH with pinned host-key verification; credentials are entered through
/dev/ttyand never passed through MCP, CLI arguments, environment variables, or logs. - Standard MCP tools and ready-to-use examples for Codex, Claude Code, Cursor, and OpenClaw.
- Agent Skill for clients that support reusable skills.
- Arbitrary non-interactive remote shell execution with best-effort sensitive-command analysis, explicit one-time approvals, output redaction, and bounded audit logging.
- Native release archives for macOS and Linux on amd64 and arm64.
- Complete English and Simplified Chinese user and security documentation.
Security Boundary
Aegis SSH isolates SSH credentials and reduces accidental disclosure, but it is not a complete remote shell sandbox. An agent allowed to run arbitrary shell commands can attempt to evade static analysis or output filtering. A malicious process running as the same local OS user may also inspect daemon memory or access the user's local socket. Read SECURITY.md before using the broker in a sensitive environment.
Install
Download the archive for your platform, verify it with SHA256SUMS, extract it, and install the binary:
grep 'aegis-ssh-v0.1.0-<os>-<arch>.tar.gz' SHA256SUMS | shasum -a 256 -c -
# Linux can use sha256sum -c - instead of shasum -a 256 -c -.
tar -xzf aegis-ssh-v0.1.0-<os>-<arch>.tar.gz
cd aegis-ssh-v0.1.0-<os>-<arch>
./aegis-ssh --helpAegis SSH v0.1.0 中文说明
Aegis SSH 的首个公开版本提供了一个适配多种 AI Agent 的本地代理,使 Agent 能够操作必须使用密码认证的 SSH 服务器,同时避免向 Agent 接口暴露连接凭据。
主要功能
- 在
~/.aegis-ssh下使用 Argon2id 和 XChaCha20-Poly1305 加密保存本地凭据。 - 支持仅使用密码的 SSH 登录并固定校验主机密钥;凭据通过
/dev/tty输入,不会进入 MCP、CLI 参数、环境变量或日志。 - 提供标准 MCP 工具,以及 Codex、Claude Code、Cursor 和 OpenClaw 的配置示例。
- 为支持 Skill 的 Agent 客户端提供可复用 Agent Skill。
- 支持任意非交互式远程 Shell,并提供最佳努力的敏感命令分析、一次性明确批准、输出脱敏和有界审计日志。
- 提供 macOS、Linux 的 amd64 和 arm64 原生发布包。
- 提供完整的英文和简体中文使用及安全文档。
安全边界
Aegis SSH 用于隔离 SSH 凭据并降低意外泄露风险,但它不是完整的远程 Shell 沙箱。获准执行任意 Shell 的 Agent 仍可能尝试规避静态分析或输出过滤;同一本地 OS 用户下的恶意进程也可能检查 daemon 内存或访问本地 socket。在敏感环境中使用前,请阅读 SECURITY.zh-CN.md。
安装
下载对应平台的压缩包,使用 SHA256SUMS 校验后解压:
grep 'aegis-ssh-v0.1.0-<os>-<arch>.tar.gz' SHA256SUMS | shasum -a 256 -c -
# Linux 可以将 shasum -a 256 -c - 替换为 sha256sum -c -。
tar -xzf aegis-ssh-v0.1.0-<os>-<arch>.tar.gz
cd aegis-ssh-v0.1.0-<os>-<arch>
./aegis-ssh --help