export-host-key
ip/ssh/export-host-key
Type: Command
Export public and private RSA/Ed25519 keys to files.
info
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 generated files. For example, prefix 'my' generates files 'my_rsa', 'my_rsa.pub'. Host keys are exported in PKCS#8 format. |
| passphrase | string | Private key passphrase. |