/system/ssh

ssh

SSH client to connect to remote hosts.


system/ssh

Type: Command

SSH client to connect to remote hosts.

参数类型描述
addressalt { ip: ipAddr , ipv6-address: composite { ip6: ip6Addr , interface: [ iface_enum] } }远程主机的 IPv4 或 IPv6 地址。
commandstring要执行的远程命令。
userstring远程主机的用户名。默认为当前登录用户。
portnumSSH 服务器监听的 TCP 端口。默认值:22。
src-addressalt { ip: ipAddr , ip6: ip6Addr }连接时使用的源地址。支持 IPv4 和 IPv6。
vrfenum建立连接所用的 VRF。仅在该路由表内匹配远程主机。
output-to-filestring将输出写入文件而不是终端。不接受密码输入,请使用密钥身份验证。