/ip/ssh/export-host-key
当前显示英文原文,切换到「中文」可查看译文。
export-host-key
Export public and private RSA/Ed25519 keys to files.
ip/ssh/export-host-key
Type: Command
Export public and private RSA/Ed25519 keys to files.
信息
Host keys are exported in PKCS#8 format.
Exporting the SSH host key requires "sensitive" user policy. | Argument | Type | Description | | --- | --- | --- | |
key-file-prefix| string | Prefix for the generated files: for examplemyproducesmy_rsa.pem(private key) andmy_rsa_pub.pem(public key) for an RSA host key, ormy_ed25519.pemandmy_ed25519_pub.pemfor an Ed25519 one. Both files are in PKCS#8 PEM format. | |passphrase| string | Private key passphrase. |