DOKK / manpages / debian 12 / dropbear-bin / dropbearconvert.1.en
dropbearconvert(1) General Commands Manual dropbearconvert(1)

dropbearconvert - convert between Dropbear and OpenSSH private key formats

dropbearconvert input_type output_type input_file output_file

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.

Either dropbear or openssh
Either dropbear or openssh
An existing Dropbear or OpenSSH private key file
The path to write the converted private key file. For client authentication ~/.ssh/id_dropbear is loaded by default

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.


# dropbearconvert openssh dropbear ~/.ssh/id_rsa ~/.ssh/id_dropbear

Matt Johnston (matt@ucc.asn.au).


dropbearkey(1), ssh-keygen(1)

https://matt.ucc.asn.au/dropbear/dropbear.html