summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-10-28 21:44:16 +0800
committerGuilhem Moulin <guilhem@fripost.org>2015-10-28 21:44:16 +0800
commite2d36d493f894ae411c49e13174f6f1e979d3dea (patch)
treeeffdc78b75bfaafea3d149187823a1b786995423
parent7c43594075b382dbf7732d89ac4f397cc2102fff (diff)
Mention -y flag
-rw-r--r--dropbearkey.18
1 files changed, 8 insertions, 0 deletions
diff --git a/dropbearkey.1 b/dropbearkey.1
index b4d202e..66abae4 100644
--- a/dropbearkey.1
+++ b/dropbearkey.1
@@ -9,6 +9,7 @@ dropbearkey \- create private keys for the use with dropbear(8) or dbclient(1)
.I file
[\-s
.IR bits ]
+[\-y]
.SH DESCRIPTION
.B dropbearkey
generates a
@@ -39,12 +40,19 @@ Write the secret key to the file
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 (matt@ucc.asn.au).
.br