Network Ssh Status
network_ssh_statusQuery SSH service status on an fnOS NAS through fnos-mcp, checking whether SSH is enabled, its port, and SFTP availability.
Instructions
查询 SSH 服务状态(开关、端口、sftp)。
trim-cli 没有 status 子命令(network ssh switch 必须带 --enable 或
--disable,直接调用会报错),所以这里走原始端点
appcgi.network.ssh.status。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | NAS 主机地址(IP 或域名) | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| scheme | No | 传输协议 | |
| profile | No | 独立 session profile 名称,默认使用 default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |