[ssh-keygen.1 ssh-keygen.c]
     document -d, and -t defaults to rsa1
This commit is contained in:
Ben Lindstrom 2001-03-05 05:10:52 +00:00
parent 33a3cc30eb
commit b7c9232da1
3 changed files with 14 additions and 5 deletions

View File

@ -19,6 +19,9 @@
- deraadt@cvs.openbsd.org 2001/02/22 04:29:37 - deraadt@cvs.openbsd.org 2001/02/22 04:29:37
[servconf.c] [servconf.c]
grammar; slade@shore.net grammar; slade@shore.net
- deraadt@cvs.openbsd.org 2001/02/22 06:43:55
[ssh-keygen.1 ssh-keygen.c]
document -d, and -t defaults to rsa1
20010304 20010304
- (bal) Remove make-ssh-known-hosts.1 since it's no longer valid. - (bal) Remove make-ssh-known-hosts.1 since it's no longer valid.
@ -4211,4 +4214,4 @@
- Wrote replacements for strlcpy and mkdtemp - Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1 - Released 1.0pre1
$Id: ChangeLog,v 1.857 2001/03/05 05:07:52 mouring Exp $ $Id: ChangeLog,v 1.858 2001/03/05 05:10:52 mouring Exp $

View File

@ -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 -*- .\" -*- nroff -*-
.\" .\"
@ -165,7 +165,12 @@ or
.Dq dsa .Dq dsa
for protocol version 2. for protocol version 2.
The default is 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 .It Fl C Ar comment
Provides the new comment. Provides the new comment.
.It Fl N Ar new_passphrase .It Fl N Ar new_passphrase

View File

@ -12,7 +12,7 @@
*/ */
#include "includes.h" #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/evp.h>
#include <openssl/pem.h> #include <openssl/pem.h>
@ -605,7 +605,8 @@ do_change_comment(struct passwd *pw)
void void
usage(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); exit(1);
} }