Show HN:Opsh – 一个通过 SSH 连接 Linux 服务器的终端 AI 助手
Show HN: Opsh – A terminal AI assistant for Linux servers over SSH

原始链接: https://opsh.dev/

Operator Shell —— 描述一项运维任务,选择它可能涉及的主机,并观察它通过 SSH 运行。 Linux / macOS curl -fsSL https://opsh.dev/install.sh | sh 复制 安装一个独立的二进制文件。无需 Node.js。 Windows irm https://opsh.dev/install.ps1 | iex npm npm install -g @opsh-dev/opsh (Node.js 26.4+) 然后运行 opsh,并使用 /models 选择模型提供商。 GitHub 文档 发布版本 opsh 会以远程用户的权限执行真实命令。请审查每一项计划和审批。 MIT 许可 · [email protected]

Hacker News 上一篇 “Show HN” 帖子介绍了 Opsh,这是一个用于通过 SSH 管理 Linux 服务器的开源终端 AI 助手。它由作者为处理 Proxmox 虚拟机和容器而开发,现已采用 MIT 许可证,并提供了面向外部使用的文档。 Opsh 允许用户在单台或多台主机上运行命令,按主机分别显示输出并设置超时;将可重复任务整理为运行手册;并在计划模式和构建模式之间切换。它的安全模型会在执行前对命令进行分类:只读命令只有在被证明安全时才会自动运行,修改性或破坏性命令需要确认,计划模式会完全阻止变更。它支持 Anthropic、OpenAI、Gemini、兼容 OpenAI 的服务以及本地端点。一位评论者表达了对 AI 的疲惫感。
相关文章

原文

Operator Shell — describe an operational task, choose the hosts it may touch, and watch it run over SSH.

curl -fsSL https://opsh.dev/install.sh | sh

Installs a self-contained binary. No Node.js required.

Then run opsh and choose a provider with /models.

opsh TUI showing a transcript, host output, and the prompt

opsh executes real commands with the remote user's privileges. Review every plan and approval.

联系我们 contact @ memedata.com