dropbearconvert - Man Page
convert between Dropbear and OpenSSH private key formats
Examples (TL;DR)
- Convert an OpenSSH private key to the Dropbear format:
dropbearconvert openssh dropbear path/to/input_key path/to/output_key
- Convert a Dropbear private key to the OpenSSH format:
dropbearconvert dropbear openssh path/to/input_key path/to/output_key
Synopsis
dropbearconvert input_type output_type input_file output_file
Description
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 dropbear or openssh
- output_type
Either dropbear or openssh
- 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.
Example
# dropbearconvert openssh dropbear ~/.ssh/id_rsa ~/.ssh/id_dropbear
Author
Matt Johnston (matt@ucc.asn.au).