Skip to main content
Version: current

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.

ArgumentTypeDescription
private-key-filefileName of the key file in the router's root directory.
userenumSystem user that owns the key.
passphrasestringPassphrase of an encrypted key file.
infostringFree-text label for the key.