logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dropbearkey - create private keys for the use with dropbear(8) or dbclient(1)

Author

       Matt Johnston (matt@ucc.asn.au).
       Gerrit Pape (pape@smarden.org) wrote this manual page.

Description

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.

Example

       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

Name

       dropbearkey - create private keys for the use with dropbear(8) or dbclient(1)

Notes

       The program dropbearconvert(1) can be used to convert between Dropbear and OpenSSH key formats.

       Dropbear does not support encrypted keys.

Options

-ttype
              Type of key to generate.  Must be one of rsaecdsaed25519 or dss.

       -ffile
              Write the secret key to the file file. For client authentication ~/.ssh/id_dropbear is  loaded  by
              default

       -sbits
              Set the key size to bits bits, should be multiple of 8 (optional).

       -y     Just print the publickey and fingerprint for the private key in file.

See Also

dropbear(8), dbclient(1), dropbearconvert(1)

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

                                                                                                  dropbearkey(1)

Synopsis

dropbearkey -t type -f file [-s bits] [-y]

See Also