diff options
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r-- | ssh-keygen.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index e039be304..85fb4424f 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keygen.c,v 1.354 2019/10/02 09:50:50 djm Exp $ */ | 1 | /* $OpenBSD: ssh-keygen.c,v 1.355 2019/10/03 17:07:50 jmc 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 |
@@ -2708,14 +2708,14 @@ static void | |||
2708 | usage(void) | 2708 | usage(void) |
2709 | { | 2709 | { |
2710 | fprintf(stderr, | 2710 | fprintf(stderr, |
2711 | "usage: ssh-keygen [-q] [-b bits] [-t dsa | ecdsa | ed25519 | rsa] [-m format]\n" | 2711 | "usage: ssh-keygen [-q] [-b bits] [-C comment] [-f output_keyfile] [-m format]\n" |
2712 | " [-N new_passphrase] [-C comment] [-f output_keyfile]\n" | 2712 | " [-N new_passphrase] [-t dsa | ecdsa | ed25519 | rsa]\n" |
2713 | " ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-m format]\n" | 2713 | " ssh-keygen -p [-f keyfile] [-m format] [-N new_passphrase]\n" |
2714 | " [-f keyfile]\n" | 2714 | " [-P old_passphrase]\n" |
2715 | " ssh-keygen -i [-m key_format] [-f input_keyfile]\n" | 2715 | " ssh-keygen -i [-f input_keyfile] [-m key_format]\n" |
2716 | " ssh-keygen -e [-m key_format] [-f input_keyfile]\n" | 2716 | " ssh-keygen -e [-f input_keyfile] [-m key_format]\n" |
2717 | " ssh-keygen -y [-f input_keyfile]\n" | 2717 | " ssh-keygen -y [-f input_keyfile]\n" |
2718 | " ssh-keygen -c [-P passphrase] [-C comment] [-f keyfile]\n" | 2718 | " ssh-keygen -c [-C comment] [-f keyfile] [-P passphrase]\n" |
2719 | " ssh-keygen -l [-v] [-E fingerprint_hash] [-f input_keyfile]\n" | 2719 | " ssh-keygen -l [-v] [-E fingerprint_hash] [-f input_keyfile]\n" |
2720 | " ssh-keygen -B [-f input_keyfile]\n"); | 2720 | " ssh-keygen -B [-f input_keyfile]\n"); |
2721 | #ifdef ENABLE_PKCS11 | 2721 | #ifdef ENABLE_PKCS11 |
@@ -2729,21 +2729,21 @@ usage(void) | |||
2729 | " ssh-keygen -r hostname [-g] [-f input_keyfile]\n" | 2729 | " ssh-keygen -r hostname [-g] [-f input_keyfile]\n" |
2730 | #ifdef WITH_OPENSSL | 2730 | #ifdef WITH_OPENSSL |
2731 | " ssh-keygen -G output_file [-v] [-b bits] [-M memory] [-S start_point]\n" | 2731 | " ssh-keygen -G output_file [-v] [-b bits] [-M memory] [-S start_point]\n" |
2732 | " ssh-keygen -T output_file -f input_file [-v] [-a rounds] [-J num_lines]\n" | 2732 | " ssh-keygen -f input_file -T output_file [-v] [-a rounds] [-J num_lines]\n" |
2733 | " [-j start_line] [-K checkpt] [-W generator]\n" | 2733 | " [-j start_line] [-K checkpt] [-W generator]\n" |
2734 | #endif | 2734 | #endif |
2735 | " ssh-keygen -s ca_key -I certificate_identity [-hU]\n" | 2735 | " ssh-keygen -I certificate_identity -s ca_key [-hU] [-D pkcs11_provider]\n" |
2736 | " [-D pkcs11_provider] [-n principals] [-O option]\n" | 2736 | " [-n principals] [-O option] [-V validity_interval]\n" |
2737 | " [-V validity_interval] [-z serial_number] file ...\n" | 2737 | " [-z serial_number] file ...\n" |
2738 | " ssh-keygen -L [-f input_keyfile]\n" | 2738 | " ssh-keygen -L [-f input_keyfile]\n" |
2739 | " ssh-keygen -A\n" | 2739 | " ssh-keygen -A [-f prefix_path]\n" |
2740 | " ssh-keygen -k -f krl_file [-u] [-s ca_public] [-z version_number]\n" | 2740 | " ssh-keygen -k -f krl_file [-u] [-s ca_public] [-z version_number]\n" |
2741 | " file ...\n" | 2741 | " file ...\n" |
2742 | " ssh-keygen -Q -f krl_file file ...\n" | 2742 | " ssh-keygen -Q -f krl_file file ...\n" |
2743 | " ssh-keygen -Y sign -f sign_key -n namespace\n" | 2743 | " ssh-keygen -Y check-novalidate -n namespace -s signature_file\n" |
2744 | " ssh-keygen -Y verify -I signer_identity -s signature_file\n" | 2744 | " ssh-keygen -Y sign -f key_file -n namespace file ...\n" |
2745 | " -n namespace -f allowed_keys [-r revoked_keys]\n" | 2745 | " ssh-keygen -Y verify -f allowed_signers_file -I signer_identity\n" |
2746 | " ssh-keygen -Y check-novalidate -s signature_file -n namespace\n"); | 2746 | " -n namespace -s signature_file [-r revocation_file]\n"); |
2747 | exit(1); | 2747 | exit(1); |
2748 | } | 2748 | } |
2749 | 2749 | ||