dropbearkey - create private keys for the use with dropbear(8)
dropbearkey -t type -f file [-s bits] [-y]
dropbearkey generates a RSA or DSS format SSH private key, and saves it
to a file for the use with the dropbear(8) SSH 2 server. Note that
some SSH implementations use the term "DSA" rather than "DSS", they
mean the same thing.
Type of key to generate. Must be one of rsa or dss.
Write the secret key to the file file.
Set the key size to bits bits, should be multiple of 8
-y Just print the publickey and fingerprint for the private key in
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 (firstname.lastname@example.org).
Gerrit Pape (email@example.com) wrote this manual page.