view dropbearkey.1 @ 1490:9b87cbe931e3

build: Remove unused constructs: `space' and `AC_PROG_MAKE_SET' The makefile variable `space' is never used. The autoconf output variable `SET_MAKE' is never used, so the autoconf macro `AC_PROG_MAKE_SET' has been removed.
author Michael Witten <>
date Mon, 31 Jul 2017 23:55:52 +0000
parents 80cacacfec23
children 5c8913b7464c
line wrap: on
line source
.TH dropbearkey 1
dropbearkey \- create private keys for the use with dropbear(8) or dbclient(1)
.B dropbearkey
.I type
.I file
.IR bits ]
.B dropbearkey
generates a
\fIRSA\fR, \fIDSS\fR, or \fIECDSA\fR
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.
.B \-t \fItype
Type of key to generate.
Must be one of
.I rsa
.I ecdsa
.IR dss .
.B \-f \fIfile
Write the secret key to the file
\fIfile\fR. For client authentication ~/.ssh/id_dropbear is loaded by default
.B \-s \fIbits
Set the key size to
.I bits
bits, should be multiple of 8 (optional). 
.B \-y
Just print the publickey and fingerprint for the private key in \fIfile\fR.
The program dropbearconvert(1) can be used to convert between Dropbear and OpenSSH key formats.
Dropbear does not support encrypted keys. 
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 ([email protected]).
Gerrit Pape ([email protected]) wrote this manual page.
dropbear(8), dbclient(1), dropbearconvert(1)