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