changeset 1162:cdea5dbb1755

Mention -y flag
author Guilhem Moulin <guilhem@fripost.org>
date Wed, 28 Oct 2015 21:44:16 +0800
parents b8f362078209
children 0a1891e23b18
files dropbearkey.1
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dropbearkey.1	Wed Oct 28 21:42:09 2015 +0800
+++ b/dropbearkey.1	Wed Oct 28 21:44:16 2015 +0800
@@ -9,6 +9,7 @@
 .I file
 [\-s
 .IR bits ]
+[\-y]
 .SH DESCRIPTION
 .B dropbearkey
 generates a
@@ -39,12 +40,19 @@
 Set the key size to
 .I bits
 bits, should be multiple of 8 (optional). 
+.TP
+.B \-y
+Just print the publickey and fingerprint for the private key in \fIfile\fR.
 .SH NOTES
 The program dropbearconvert(1) can be used to convert between Dropbear and OpenSSH key formats.
 .P
 Dropbear does not support encrypted keys. 
 .SH EXAMPLE
+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
 .SH AUTHOR
 Matt Johnston ([email protected]).
 .br