List devices, connect once, run, inspect, poll if async, then run again.先列设备、连一次、执行、检查,必要时轮询异步,再继续执行。
ssh-device-list
ssh-quick-connect
ssh-run
ssh-status
ssh-command-status
ssh-runIf you remember a command name but not what it does, this page is the fastest way back to the full picture. It keeps the common MCP tools and operator commands together in one place.如果你记得一个命令名,却忘了它是做什么的、应该什么时候用,这个页面会是最快的回到上下文的地方。
ssh-device-list -> ssh-quick-connect -> ssh-run -> ssh-command-statusssh-device-list -> ssh-quick-connect -> ssh-run -> ssh-command-statusssh-session-mcp-ctl status / devices / launch / logs / cleanupssh-session-mcp-ctl status / devices / launch / logs / cleanupThis is the normal path repeated across the docs and everyday usage.这是文档和日常使用里最常出现的一条正常路径。
ssh-device-list
ssh-quick-connect
ssh-run
ssh-status
ssh-command-status
ssh-runssh-session-diagnostics
ssh-session-history
ssh-session-control
ssh-statusIf a tool name looks familiar but you cannot remember why, start here.如果某个工具名看着眼熟,但一时想不起来它是干什么的,就从这里开始。
ssh-device-listList configured devices and defaults.列出已配置设备和默认项。
ssh-quick-connectConnect or reuse the default target and optionally open the viewer.连接或复用默认目标,并可选打开 viewer。
ssh-runMain command execution path with completion detection and exit-code capture.主命令执行路径,带完成判定和退出码捕获。
ssh-statusInspect sessions, viewer state, and operation mode.查看 session、viewer 状态和运行模式。
ssh-command-statusPoll async command progress.查询异步命令进度。
ssh-retryRetry flaky commands with backoff.对易失败命令做自动重试。
ssh-session-historyRead mixed terminal history.查看混合终端历史。
ssh-session-controlSend control keys such as ctrl_c, arrows, or tab.发送 ctrl_c、方向键、tab 等控制输入。
ssh-session-diagnosticsInspect lock state, warnings, running command state, and viewer health.查看锁状态、警告、运行中命令和 viewer 健康度。
These are the local operator commands people reach for most often.这些是本地操作者最常会用到的几个命令。
ssh-session-mcp-ctl status
ssh-session-mcp-ctl devices
ssh-session-mcp-ctl launch --viewerPort=auto
ssh-session-mcp-ctl launch --local --viewerPort=auto
ssh-session-mcp-ctl logs --tail=60
ssh-session-mcp-ctl cleanup
These are useful when you saw a tool once in a log, prompt, or example and want a fast reminder.如果你是在日志、提示词或示例里见过一次命令名,现在想快速回忆它是做什么的,这一组最合适。
It opens or reuses the common SSH session and can also launch the viewer, so it is the recommended first step before `ssh-run`.它会打开或复用常用 SSH 会话,还可以顺手拉起 viewer,所以它是 `ssh-run` 之前推荐的第一步。
Use it when `ssh-run` returns an async command ID or when long-running remote work should be polled explicitly instead of guessed.当 `ssh-run` 返回异步命令 ID,或者远程长任务应该被显式轮询而不是靠猜时,就该用它。
It inspects lock state, warnings, running command state, and viewer health when the terminal is blocked, odd, or clearly stateful.当终端被阻塞、状态异常、或明显进入强状态依赖时,它用来检查锁状态、警告、运行中命令和 viewer 健康度。
Use the CLI when you are acting as the local operator and need process status, device listing, launch, logs, or cleanup outside the MCP tool loop.当你是本地操作者,需要看进程状态、列设备、启动、看日志或清理,而不是走 MCP 工具回路时,就用这个 CLI。
From here, the next step is usually setup, answers, or the bigger picture.从这里继续,下一步通常就是去看安装、答案,或者更完整的背景。