import
user/ssh-keys/private/import
Type: Command
Imports a private SSH key from a file in the router's root directory. Accepted formats: PKCS#1 PEM RSA ("BEGIN RSA PRIVATE KEY"), PKCS#8 ("BEGIN PRIVATE KEY") and encrypted PKCS#8 ("BEGIN ENCRYPTED PRIVATE KEY", requires passphrase). OpenSSH-format private keys ("BEGIN OPENSSH PRIVATE KEY") are rejected. See User for the full guide.
| Argument | Type | Description |
|---|---|---|
| private-key-file | file | Name of the key file in the router's root directory. |
| user | enum | System user that owns the key. |
| passphrase | string | Passphrase of an encrypted key file. |
| info | string | Free-text label for the key. |