mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 13:21:15 +00:00
Mention -y flag
This commit is contained in:
parent
7c43594075
commit
e2d36d493f
@ -9,6 +9,7 @@ dropbearkey \- create private keys for the use with dropbear(8) or dbclient(1)
|
|||||||
.I file
|
.I file
|
||||||
[\-s
|
[\-s
|
||||||
.IR bits ]
|
.IR bits ]
|
||||||
|
[\-y]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B dropbearkey
|
.B dropbearkey
|
||||||
generates a
|
generates a
|
||||||
@ -39,12 +40,19 @@ Write the secret key to the file
|
|||||||
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).
|
||||||
|
.TP
|
||||||
|
.B \-y
|
||||||
|
Just print the publickey and fingerprint for the private key in \fIfile\fR.
|
||||||
.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
|
||||||
Dropbear does not support encrypted keys.
|
Dropbear does not support encrypted keys.
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
|
generate a host-key:
|
||||||
# dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_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
|
.SH AUTHOR
|
||||||
Matt Johnston (matt@ucc.asn.au).
|
Matt Johnston (matt@ucc.asn.au).
|
||||||
.br
|
.br
|
||||||
|
Loading…
Reference in New Issue
Block a user