ckeygen(1) manipulate public/private keys


ckeygen [-b bits] [-f filename] [-t type] [-C comment] [-N new passphrase] [-P old passphrase] [-l] [-p] [-q] [-y]


The --help prints out a usage message to standard output.

-b, --bits <bits>
Number of bits in the key to create (default: 1024)
-f, --filename <file name>
Filename of the key file.
-t, --type <type>
Type of key (rsa or dsa).
-C, --comment <comment>
Provide a new comment.
-N, --newpass <pass phrase>
Provide new passphrase.
-P, --pass <pass phrase>
Provide old passphrase.
-l, --fingerprint
Show fingerprint of key file.
-p, --changepass
Change passphrase of private key file.
-q, --quiet
Be quiet.
Create the key with no passphrase.
-y, --showpub
Read private key file and print public key.
Display version number only.


Manipulate public/private keys in various ways. If no filename is given, a file name will be requested interactively.


Written by Moshe Zadka, based on ckeygen's help messages


To report a bug, visit


Copyright © 2002-2011 Twisted Matrix Laboratories.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.