=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh-keygen.1,v retrieving revision 1.40.2.1 retrieving revision 1.40.2.2 diff -u -r1.40.2.1 -r1.40.2.2 --- src/usr.bin/ssh/ssh-keygen.1 2001/09/27 19:03:55 1.40.2.1 +++ src/usr.bin/ssh/ssh-keygen.1 2001/11/15 22:51:15 1.40.2.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ssh-keygen.1,v 1.40.2.1 2001/09/27 19:03:55 jason Exp $ +.\" $OpenBSD: ssh-keygen.1,v 1.40.2.2 2001/11/15 22:51:15 miod Exp $ .\" .\" -*- nroff -*- .\" @@ -147,6 +147,7 @@ The default is 1024 bits. .It Fl c Requests changing the comment in the private and public key files. +This operation is only supported for RSA1 keys. The program will prompt for the file containing the private keys, for the passphrase if the key has one, and for the new comment. .It Fl e @@ -168,7 +169,11 @@ This option allows importing keys from several commercial SSH implementations. .It Fl l -Show fingerprint of specified private or public key file. +Show fingerprint of specified public key file. +Private RSA1 keys are also supported. +For RSA and DSA keys +.Nm +tries to find the matching public key file and prints its fingerprint. .It Fl p Requests changing the passphrase of a private key file instead of creating a new private key.