dropbearconvert1
Convert between dropbear and openssh private key formats
Usage
dropbearconvert input_type
output_type
input_file
output_file
Overview
Dropbear and OpenSSH SSH implementations have different private key formats. dropbearconvert can convert between the two.
Dropbear uses the same SSH public key format as OpenSSH, it can be extracted from a private key by using dropbearkey -y
Encrypted private keys are not supported, use ssh-keygen(1) to decrypt them first.
Arguments
- input_type
-
Either
dropbearoropenssh - output_type
-
Either
dropbearoropenssh - input_file
-
An existing Dropbear or OpenSSH private key file
- output_file
-
The path to write the converted private key file. For client authentication ~/.ssh/id_dropbear is loaded by default
Supported formats
dropbearconvert can read OpenSSH format files, and older PEM format files( ssh-keygen -m PEM). dropbearconvert will write OpenSSH format files, usable with OpenSSH 6.5 and later. Reading OpenSSH format DSS files or PKCS8 files is not currently supported.
Examples
# dropbearconvert openssh dropbear ~/.ssh/id_rsa ~/.ssh/id_dropbear
Releases
7 releases since Debian 8 (Jessie); the text changed 3 times.