docs for ecdsa

This commit is contained in:
Matt Johnston 2013-11-14 22:14:09 +08:00
parent 7f90231b8f
commit 0777e896f1
2 changed files with 23 additions and 25 deletions

View File

@ -3,10 +3,10 @@
dropbear \- lightweight SSH server dropbear \- lightweight SSH server
.SH SYNOPSIS .SH SYNOPSIS
.B dropbear .B dropbear
[\-FEmwsgjki] [\-b [\-RFEmwsgjki] [\-b
.I banner\fR] [\-d .I banner\fR]
.I dsskey\fR] [\-r [\-r
.I rsakey\fR] [\-p .I hostkeyfile\fR] [\-p
.IR [address:]port ] .IR [address:]port ]
.SH DESCRIPTION .SH DESCRIPTION
.B dropbear .B dropbear
@ -20,24 +20,16 @@ Display the contents of the file
.I banner .I banner
before user login (default: none). before user login (default: none).
.TP .TP
.B \-d \fIdsskey .B \-r \fIhostkey
dsskeyfile.
Use the contents of the file Use the contents of the file
.I dsskey .I hostkey
for the DSS host key (default: /etc/dropbear/dropbear_dss_host_key). for the SSH hostkey.
Note that
some SSH implementations
use the term "DSA" rather than "DSS", they mean the same thing.
This file is generated with This file is generated with
.BR dropbearkey (1). .BR dropbearkey (1)
or automatically with the '-R' option. See "Host Key Files" below.
.TP .TP
.B \-r \fIrsakey .B \-R
rsakeyfile. Generate hostkeys automatically
Use the contents of the file
.I rsakey
for the rsa host key (default: /etc/dropbear/dropbear_rsa_host_key).
This file is generated with
.BR dropbearkey (1).
.TP .TP
.B \-F .B \-F
Don't fork into background. Don't fork into background.
@ -143,9 +135,13 @@ key authentication.
Host Key Files Host Key Files
Host key files are read at startup from a standard location, by default Host key files are read at startup from a standard location, by default
/etc/dropbear/dropbear_dss_host_key and /etc/dropbear/dropbear_rsa_host_key /etc/dropbear/dropbear_dss_host_key, /etc/dropbear/dropbear_rsa_host_key, and
or specified on the commandline with -d or -r. These are of the form generated /etc/dropbear/dropbear-ecdsa_host_key
by dropbearkey. or specified on the commandline with -r. These are of the form generated
by dropbearkey. The -R option can be used to automatically generate keys
in the default location - keys will be generated after startup when the first
connection is established. This had the benefit that the system /dev/urandom
random number source has a better chance of being securely seeded.
.TP .TP
Message Of The Day Message Of The Day

View File

@ -12,9 +12,10 @@ dropbearkey \- create private keys for the use with dropbear(8) or dbclient(1)
.SH DESCRIPTION .SH DESCRIPTION
.B dropbearkey .B dropbearkey
generates a generates a
.I RSA .I RSA
.I DSS,
or or
.I DSS .I ECDSA
format SSH private key, and saves it to a file for the use with the format SSH private key, and saves it to a file for the use with the
Dropbear client or server. Dropbear client or server.
Note that Note that
@ -26,6 +27,7 @@ use the term "DSA" rather than "DSS", they mean the same thing.
Type of key to generate. Type of key to generate.
Must be one of Must be one of
.I rsa .I rsa
.I ecdsa
or or
.IR dss . .IR dss .
.TP .TP
@ -36,7 +38,7 @@ Write the secret key to the file
.B \-s \fIbits .B \-s \fIbits
Set the key size to Set the key size to
.I bits .I bits
bits, should be multiple of 8 (optional). bits, should be multiple of 8 (optional).
.SH NOTES .SH NOTES
The program dropbearconvert(1) can be used to convert between Dropbear and OpenSSH key formats. The program dropbearconvert(1) can be used to convert between Dropbear and OpenSSH key formats.
.P .P