/user/ssh-keys/private
private
Private SSH keys that identify the router in outgoing SSH connections to other devices, for example with /system/ssh or /tool/fetch. All properties are read-only; keys are added with /user/ssh-keys/private/import....
user/ssh-keys/private
Type: Directory
用于在向其他设备发起的 SSH 连接中标识路由器的私有 SSH 密钥,例如通过 /system/ssh 或 /tool/fetch。所有属性均为只读;密钥通过 /user/ssh-keys/private/import 添加。完整指南请参阅 用户。
| 只读参数 | 类型 | 描述 |
|---|---|---|
user | enum | 拥有该密钥的系统用户。 |
key-type | enum (rsa | ed25519) | 密钥类型:rsa 或 ed25519。 |
bits | num | 密钥长度(位)。 |
info | string | 密钥的自由文本标签。 |