diff options
-rw-r--r-- | usr.bin/ssh/ssh-keygen.1 | 9 | ||||
-rw-r--r-- | usr.bin/ssh/ssh-keygen.c | 5 |
2 files changed, 10 insertions, 4 deletions
diff --git a/usr.bin/ssh/ssh-keygen.1 b/usr.bin/ssh/ssh-keygen.1 index 6661bfb10a2..516e05ed4f1 100644 --- a/usr.bin/ssh/ssh-keygen.1 +++ b/usr.bin/ssh/ssh-keygen.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ssh-keygen.1,v 1.30 2001/02/08 19:22:38 itojun Exp $ +.\" $OpenBSD: ssh-keygen.1,v 1.31 2001/02/22 06:43:55 deraadt Exp $ .\" .\" -*- nroff -*- .\" @@ -165,7 +165,12 @@ or .Dq dsa for protocol version 2. The default is -.Dq rsa . +.Dq rsa1 . +.It Fl d +Specifies +.Dq dsa +key type (shortcut for +.Fl t Ar dsa) .It Fl C Ar comment Provides the new comment. .It Fl N Ar new_passphrase diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c index 01c38c8fcc6..5b5c71c3007 100644 --- a/usr.bin/ssh/ssh-keygen.c +++ b/usr.bin/ssh/ssh-keygen.c @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-keygen.c,v 1.43 2001/02/12 16:16:23 markus Exp $"); +RCSID("$OpenBSD: ssh-keygen.c,v 1.44 2001/02/22 06:43:55 deraadt Exp $"); #include <openssl/evp.h> #include <openssl/pem.h> @@ -601,7 +601,8 @@ do_change_comment(struct passwd *pw) void usage(void) { - printf("Usage: %s [-lpqxXyc] [-t type] [-b bits] [-f file] [-C comment] [-N new-pass] [-P pass]\n", __progname); + printf("Usage: %s [-lpqxXycd] [-t type] [-b bits] [-f file] [-C comment] " + "[-N new-pass] [-P pass]\n", __progname); exit(1); } |