summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ssh-keygen.112
-rw-r--r--ssh-keygen.c11
2 files changed, 11 insertions, 12 deletions
diff --git a/ssh-keygen.1 b/ssh-keygen.1
index 2e9894280..125add8f9 100644
--- a/ssh-keygen.1
+++ b/ssh-keygen.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-keygen.1,v 1.190 2020/01/06 07:43:28 jmc Exp $ 1.\" $OpenBSD: ssh-keygen.1,v 1.191 2020/01/14 15:07:30 naddy Exp $
2.\" 2.\"
3.\" Author: Tatu Ylonen <ylo@cs.hut.fi> 3.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -35,7 +35,7 @@
35.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 35.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
36.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37.\" 37.\"
38.Dd $Mdocdate: January 6 2020 $ 38.Dd $Mdocdate: January 14 2020 $
39.Dt SSH-KEYGEN 1 39.Dt SSH-KEYGEN 1
40.Os 40.Os
41.Sh NAME 41.Sh NAME
@@ -48,9 +48,9 @@
48.Op Fl C Ar comment 48.Op Fl C Ar comment
49.Op Fl f Ar output_keyfile 49.Op Fl f Ar output_keyfile
50.Op Fl m Ar format 50.Op Fl m Ar format
51.Op Fl O Ar option
52.Op Fl t Cm dsa | ecdsa | ecdsa-sk | ed25519 | ed25519-sk | rsa 51.Op Fl t Cm dsa | ecdsa | ecdsa-sk | ed25519 | ed25519-sk | rsa
53.Op Fl N Ar new_passphrase 52.Op Fl N Ar new_passphrase
53.Op Fl O Ar option
54.Op Fl w Ar provider 54.Op Fl w Ar provider
55.Nm ssh-keygen 55.Nm ssh-keygen
56.Fl p 56.Fl p
@@ -104,12 +104,12 @@
104.Nm ssh-keygen 104.Nm ssh-keygen
105.Fl M Cm generate 105.Fl M Cm generate
106.Op Fl O Ar option 106.Op Fl O Ar option
107.Ar 107.Ar output_file
108.Nm ssh-keygen 108.Nm ssh-keygen
109.Fl M Cm screen 109.Fl M Cm screen
110.Fl f Ar input_file 110.Op Fl f Ar input_file
111.Op Fl O Ar option 111.Op Fl O Ar option
112.Ar 112.Ar output_file
113.Nm ssh-keygen 113.Nm ssh-keygen
114.Fl I Ar certificate_identity 114.Fl I Ar certificate_identity
115.Fl s Ar ca_key 115.Fl s Ar ca_key
diff --git a/ssh-keygen.c b/ssh-keygen.c
index d0ffa5cd7..6b497da10 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keygen.c,v 1.382 2020/01/06 02:00:46 djm Exp $ */ 1/* $OpenBSD: ssh-keygen.c,v 1.383 2020/01/14 15:07:30 naddy Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -3009,7 +3009,7 @@ usage(void)
3009 fprintf(stderr, 3009 fprintf(stderr,
3010 "usage: ssh-keygen [-q] [-b bits] [-C comment] [-f output_keyfile] [-m format]\n" 3010 "usage: ssh-keygen [-q] [-b bits] [-C comment] [-f output_keyfile] [-m format]\n"
3011 " [-t dsa | ecdsa | ecdsa-sk | ed25519 | ed25519-sk | rsa]\n" 3011 " [-t dsa | ecdsa | ecdsa-sk | ed25519 | ed25519-sk | rsa]\n"
3012 " [-N new_passphrase] [-w provider] [-x flags]\n" 3012 " [-N new_passphrase] [-O option] [-w provider]\n"
3013 " ssh-keygen -p [-f keyfile] [-m format] [-N new_passphrase]\n" 3013 " ssh-keygen -p [-f keyfile] [-m format] [-N new_passphrase]\n"
3014 " [-P old_passphrase]\n" 3014 " [-P old_passphrase]\n"
3015 " ssh-keygen -i [-f input_keyfile] [-m key_format]\n" 3015 " ssh-keygen -i [-f input_keyfile] [-m key_format]\n"
@@ -3023,15 +3023,14 @@ usage(void)
3023 " ssh-keygen -D pkcs11\n"); 3023 " ssh-keygen -D pkcs11\n");
3024#endif 3024#endif
3025 fprintf(stderr, 3025 fprintf(stderr,
3026 " ssh-keygen -K path [-w sk_provider]\n");
3027 fprintf(stderr,
3028 " ssh-keygen -F hostname [-lv] [-f known_hosts_file]\n" 3026 " ssh-keygen -F hostname [-lv] [-f known_hosts_file]\n"
3029 " ssh-keygen -H [-f known_hosts_file]\n" 3027 " ssh-keygen -H [-f known_hosts_file]\n"
3028 " ssh-keygen -K [-w provider]\n"
3030 " ssh-keygen -R hostname [-f known_hosts_file]\n" 3029 " ssh-keygen -R hostname [-f known_hosts_file]\n"
3031 " ssh-keygen -r hostname [-g] [-f input_keyfile]\n" 3030 " ssh-keygen -r hostname [-g] [-f input_keyfile]\n"
3032#ifdef WITH_OPENSSL 3031#ifdef WITH_OPENSSL
3033 " ssh-keygen -M generate [-O option] output\n" 3032 " ssh-keygen -M generate [-O option] output_file\n"
3034 " ssh-keygen -M screen [-f input_file] [-O option] [-a rounds] output_file\n" 3033 " ssh-keygen -M screen [-f input_file] [-O option] output_file\n"
3035#endif 3034#endif
3036 " ssh-keygen -I certificate_identity -s ca_key [-hU] [-D pkcs11_provider]\n" 3035 " ssh-keygen -I certificate_identity -s ca_key [-hU] [-D pkcs11_provider]\n"
3037 " [-n principals] [-O option] [-V validity_interval]\n" 3036 " [-n principals] [-O option] [-V validity_interval]\n"