Your company here — click to reach over 10,000 unique daily visitors

ckeygen - Man Page

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

Reporting Bugs

To report a bug, visit https://twistedmatrix.com/trac/

See Also

ssh(1), conch(1)


October 2002