summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
authornaddy@openbsd.org <naddy@openbsd.org>2020-01-14 15:07:30 +0000
committerDamien Miller <djm@mindrot.org>2020-01-21 18:09:09 +1100
commit0d005d6372a067b59123dec8fc6dc905f2c09e1e (patch)
treec013e8ecf861ae5eb6682e90a6de568df449ecce /ssh-keygen.c
parentb8a4ca2ebfddab862f7eb1ea2a07fb9f70330429 (diff)
upstream: sync ssh-keygen.1 and ssh-keygen's usage() with each
other and reality ok markus@ OpenBSD-Commit-ID: cdf64454f2c3604c25977c944e5b6262a3bcce92
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c11
1 files changed, 5 insertions, 6 deletions
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"