upstream: - Add [-a rounds] in ssh-keygen man page and usage() -
Reorder parameters list in the first usage() case - Sentence rewording ok dtucker@ jmc@ noticed usage() missed -a flag too OpenBSD-Commit-ID: f06b9afe91cc96f260b929a56e9930caecbde246
This commit is contained in:
parent
69924a92c3
commit
dbaaa01dae
13
ssh-keygen.1
13
ssh-keygen.1
|
@ -1,4 +1,4 @@
|
|||
.\" $OpenBSD: ssh-keygen.1,v 1.204 2020/07/15 04:27:34 dtucker Exp $
|
||||
.\" $OpenBSD: ssh-keygen.1,v 1.205 2020/07/15 07:50:46 solene Exp $
|
||||
.\"
|
||||
.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||
.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||
|
@ -44,16 +44,18 @@
|
|||
.Sh SYNOPSIS
|
||||
.Nm ssh-keygen
|
||||
.Op Fl q
|
||||
.Op Fl a Ar rounds
|
||||
.Op Fl b Ar bits
|
||||
.Op Fl C Ar comment
|
||||
.Op Fl f Ar output_keyfile
|
||||
.Op Fl m Ar format
|
||||
.Op Fl t Cm dsa | ecdsa | ecdsa-sk | ed25519 | ed25519-sk | rsa
|
||||
.Op Fl N Ar new_passphrase
|
||||
.Op Fl O Ar option
|
||||
.Op Fl t Cm dsa | ecdsa | ecdsa-sk | ed25519 | ed25519-sk | rsa
|
||||
.Op Fl w Ar provider
|
||||
.Nm ssh-keygen
|
||||
.Fl p
|
||||
.Op Fl a Ar rounds
|
||||
.Op Fl f Ar keyfile
|
||||
.Op Fl m Ar format
|
||||
.Op Fl N Ar new_passphrase
|
||||
|
@ -71,6 +73,7 @@
|
|||
.Op Fl f Ar input_keyfile
|
||||
.Nm ssh-keygen
|
||||
.Fl c
|
||||
.Op Fl a Ar rounds
|
||||
.Op Fl C Ar comment
|
||||
.Op Fl f Ar keyfile
|
||||
.Op Fl P Ar passphrase
|
||||
|
@ -93,6 +96,7 @@
|
|||
.Op Fl f Ar known_hosts_file
|
||||
.Nm ssh-keygen
|
||||
.Fl K
|
||||
.Op Fl a Ar rounds
|
||||
.Op Fl w Ar provider
|
||||
.Nm ssh-keygen
|
||||
.Fl R Ar hostname
|
||||
|
@ -125,6 +129,7 @@
|
|||
.Op Fl f Ar input_keyfile
|
||||
.Nm ssh-keygen
|
||||
.Fl A
|
||||
.Op Fl a Ar rounds
|
||||
.Op Fl f Ar prefix_path
|
||||
.Nm ssh-keygen
|
||||
.Fl k
|
||||
|
@ -248,7 +253,9 @@ keys may be converted using this option in conjunction with the
|
|||
.Fl p
|
||||
(change passphrase) flag.
|
||||
.Pp
|
||||
After a key is generated, instructions below detail where the keys
|
||||
After a key is generated,
|
||||
.Nm
|
||||
will ask where the keys
|
||||
should be placed to be activated.
|
||||
.Pp
|
||||
The options are as follows:
|
||||
|
|
15
ssh-keygen.c
15
ssh-keygen.c
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: ssh-keygen.c,v 1.413 2020/06/26 05:02:03 dtucker Exp $ */
|
||||
/* $OpenBSD: ssh-keygen.c,v 1.414 2020/07/15 07:50:46 solene Exp $ */
|
||||
/*
|
||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||
* Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||
|
@ -3035,15 +3035,16 @@ static void
|
|||
usage(void)
|
||||
{
|
||||
fprintf(stderr,
|
||||
"usage: ssh-keygen [-q] [-b bits] [-C comment] [-f output_keyfile] [-m format]\n"
|
||||
"usage: ssh-keygen [-q] [-a rounds] [-b bits] [-C comment] [-f output_keyfile]\n"
|
||||
" [-m format] [-N new_passphrase] [-O option]\n"
|
||||
" [-t dsa | ecdsa | ecdsa-sk | ed25519 | ed25519-sk | rsa]\n"
|
||||
" [-N new_passphrase] [-O option] [-w provider]\n"
|
||||
" ssh-keygen -p [-f keyfile] [-m format] [-N new_passphrase]\n"
|
||||
" [-w provider]\n"
|
||||
" ssh-keygen -p [-a rounds] [-f keyfile] [-m format] [-N new_passphrase]\n"
|
||||
" [-P old_passphrase]\n"
|
||||
" ssh-keygen -i [-f input_keyfile] [-m key_format]\n"
|
||||
" ssh-keygen -e [-f input_keyfile] [-m key_format]\n"
|
||||
" ssh-keygen -y [-f input_keyfile]\n"
|
||||
" ssh-keygen -c [-C comment] [-f keyfile] [-P passphrase]\n"
|
||||
" ssh-keygen -c [-a rounds] [-C comment] [-f keyfile] [-P passphrase]\n"
|
||||
" ssh-keygen -l [-v] [-E fingerprint_hash] [-f input_keyfile]\n"
|
||||
" ssh-keygen -B [-f input_keyfile]\n");
|
||||
#ifdef ENABLE_PKCS11
|
||||
|
@ -3053,7 +3054,7 @@ usage(void)
|
|||
fprintf(stderr,
|
||||
" ssh-keygen -F hostname [-lv] [-f known_hosts_file]\n"
|
||||
" ssh-keygen -H [-f known_hosts_file]\n"
|
||||
" ssh-keygen -K [-w provider]\n"
|
||||
" ssh-keygen -K [-a rounds] [-w provider]\n"
|
||||
" ssh-keygen -R hostname [-f known_hosts_file]\n"
|
||||
" ssh-keygen -r hostname [-g] [-f input_keyfile]\n"
|
||||
#ifdef WITH_OPENSSL
|
||||
|
@ -3064,7 +3065,7 @@ usage(void)
|
|||
" [-n principals] [-O option] [-V validity_interval]\n"
|
||||
" [-z serial_number] file ...\n"
|
||||
" ssh-keygen -L [-f input_keyfile]\n"
|
||||
" ssh-keygen -A [-f prefix_path]\n"
|
||||
" ssh-keygen -A [-a rounds] [-f prefix_path]\n"
|
||||
" ssh-keygen -k -f krl_file [-u] [-s ca_public] [-z version_number]\n"
|
||||
" file ...\n"
|
||||
" ssh-keygen -Q [-l] -f krl_file [file ...]\n"
|
||||
|
|
Loading…
Reference in New Issue