/ip/ssh/import-host-key

import-host-key

从指定文件导入并替换 RSA/Ed25519 私钥


ip/ssh/import-host-key

Type: Command

从指定文件导入并替换 RSA/Ed25519 私钥

信息

私钥支持 PEM 或 PKCS#8 格式。 | 参数 | 类型 | 描述 | | --- | --- | --- | | private-key-file | file | PEM 或 PKCS#8 格式的 RSA/Ed25519 私钥文件名。 | | passphrase | string | 私钥密码短语。 |