dropbearkey
create private keys for the use with dropbear(8) or dbclient(1)
- Provided by: dropbear-bin (Version: 2026.94-1ubuntu1)
- Source: dropbear
- Report a bug
create private keys for the use with dropbear(8) or dbclient(1)
dropbearkey |
-t type
-f file
[-s bits]
[-y] |
dropbearkey generates a
RSA, DSS,
ECDSA, or Ed25519 format SSH
private key, and saves it to a file for the use with the Dropbear client or
server. Note that some SSH implementations use the term “DSA”
rather than “DSS”, they mean the same thing.
-t
typersa,
ecdsa, ed25519, or
dss.-f
file-s
bits-yThe program dropbearconvert(1) can be used to convert between Dropbear and OpenSSH key formats.
Dropbear does not support encrypted keys.
generate a host-key:
# dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
extract a public key suitable for authorized_keys from private key:
# dropbearkey -y -f id_rsa | grep "^ssh-rsa " >> authorized_keys
Matt Johnston
<matt@ucc.asn.au>.
Gerrit Pape
<pape@smarden.org>
wrote this manual page.