/system/ssh
ssh
SSH client to connect to remote hosts.
system/ssh
Type: Command
SSH client to connect to remote hosts.
| 参数 | 类型 | 描述 |
|---|---|---|
address | alt { ip: ipAddr , ipv6-address: composite { ip6: ip6Addr , interface: [ iface_enum] } } | 远程主机的 IPv4 或 IPv6 地址。 |
command | string | 要执行的远程命令。 |
user | string | 远程主机的用户名。默认为当前登录用户。 |
port | num | SSH 服务器监听的 TCP 端口。默认值:22。 |
src-address | alt { ip: ipAddr , ip6: ip6Addr } | 连接时使用的源地址。支持 IPv4 和 IPv6。 |
vrf | enum | 建立连接所用的 VRF。仅在该路由表内匹配远程主机。 |
output-to-file | string | 将输出写入文件而不是终端。不接受密码输入,请使用密钥身份验证。 |