DROPBEARKEY(1)
π DROPBEARKEY π (that's the DROPBEARKEY(1) page, bestie β General Commands Manual energy)
okay so picture this: you need SSH keys, but for Dropbear. not OpenSSH. Dropbear. and this lil icon is the one who makes them for you. let's get into it β¨
β¨ NAME β¨
dropbearkey β create private keys for the use with dropbear(8) or dbclient(1)
π SYNOPSIS π
dropbearkey -t type -f file [-s bits] [-y]
π¦ 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. that's the whole gig. it's giving key factory π₯
quick lil translation note, bestie: some SSH implementations use the term βDSAβ rather than βDSSβ. they mean the same thing. literally the same thing. don't let anyone tell you different π
π OPTIONS π
-ttype β the type of key you want to generate. has to be one ofrsa,ecdsa,ed25519, ordss. no freestyling on the spelling, she's picky π-ffile β write the secret key to the file file. and btw for client authentication,~/.ssh/id_dropbearis loaded by default. so that's your main character file path π-sbits β set the key size to bits bits. should be multiple of 8. it's optional, so no pressure, but the multiple-of-8 thing is not a suggestion, okay π-yβ just print the publickey and fingerprint for the private key in file. no generating, no writing, just vibes and output πΈ
π NOTES π
- the program
dropbearconvert(1)can be used to convert between Dropbear and OpenSSH key formats. so if you got keys from the other side of the SSH world, she can translate π§ - Dropbear does not support encrypted keys.
that last one is a real one, bestie. no encryption. read it twice. do not expect your passphrase-protected key dreams to come true here. π
π EXAMPLES π
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
see how the -y just pulls the public part out and the grep grabs the line? obsessed. that second one is the classic "wait, how do I get my pubkey out" move and she ATE π
π SEE ALSO π
dbclient(1), dropbearconvert(1), dropbear(8)
https://matt.ucc.asn.au/dropbear/dropbear.html
πΈ AUTHORS πΈ
Matt Johnston <matt@ucc.asn.au>.
Gerrit Pape <pape@smarden.org> wrote this manual page. (yes, the actual manual page. iconic behavior.)
aaaand that's the whole page, bestie π this one came from Debian, dated February 1, 2023, and it was served up as DROPBEARKEY(1) β go make some keys, stay unencrypted (unfortunately), and slay πβ¨π¦
π¦ where this page comes from
- arch rolling: dropbear 2026.94-1 Β· MIT
- nixpkgs unstable: dropbear 2026.94
- ubuntu stonking: dropbear-bin 2026.94-1ubuntu1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms