1dropbearkey(1) General Commands Manual dropbearkey(1)
2
3
4
6 dropbearkey - create private keys for the use with dropbear(8) or
7 dbclient(1)
8
10 dropbearkey -t type -f file [-s bits] [-y]
11
13 dropbearkey generates a RSA, DSS, ECDSA, or Ed25519 format SSH private
14 key, and saves it to a file for the use with the Dropbear client or
15 server. Note that some SSH implementations use the term "DSA" rather
16 than "DSS", they mean the same thing.
17
19 -t type
20 Type of key to generate. Must be one of rsa ecdsa ed25519 or
21 dss.
22
23 -f file
24 Write the secret key to the file file. For client authentication
25 ~/.ssh/id_dropbear is loaded by default
26
27 -s bits
28 Set the key size to bits bits, should be multiple of 8
29 (optional).
30
31 -y Just print the publickey and fingerprint for the private key in
32 file.
33
35 The program dropbearconvert(1) can be used to convert between Dropbear
36 and OpenSSH key formats.
37
38 Dropbear does not support encrypted keys.
39
41 generate a host-key:
42 # dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
43
44 extract a public key suitable for authorized_keys from private key:
45 # dropbearkey -y -f id_rsa | grep "^ssh-rsa " >> authorized_keys
46
48 Matt Johnston (matt@ucc.asn.au).
49 Gerrit Pape (pape@smarden.org) wrote this manual page.
50
52 dropbear(8), dbclient(1), dropbearconvert(1)
53
54 https://matt.ucc.asn.au/dropbear/dropbear.html
55
56
57
58 dropbearkey(1)