ssh-keygen Options

OpenSSH

Tectia

Option

Meaning

a The output filename is given as the final argument to ssh-keygen.

b You may need to escape the question mark in your shell, e.g.,-\?

 

-1 filename

Convert SSH1 key file to Tectia

 

-7 filename

Convert PKCS #7 key file to Tectia

 

-a trials

DH-GEX: number of primality

-b bits

# of bits in generated key

 

-B positive_integer

Specify numeric base for displaying key

 

-B

Print fingerprint of key in BubbleBabble format

 

-c

Change comment (with -C )

 

-c comment

Change comment

 

-C comment

Specify new comment (with -c)

 

-d

Generate DSA key

 

-D filename

Derive public key from private-key file

 

-D reader

Download public key from smartcard reader

 

-e filename

Edit key file interactively

 

-e

Export OpenSSH public key to Tectia format

 

-f filename a

Output filename

 

-F filename

Print fingerprint of public key

 

-G filename

DH-GEX: output file to generate candidate primes

 

-h

Print help and exit

 

-i

Display key information

 

-i

Convert Tectia public key to OpenSSH

 

-k

Convert PKCS #12 key file to Tectia

 

-l

Print fingerprint of public key

 

-M memory

DH-GEX: set amount of memory to use

 

-N passphrase

Specify new passphrase

 

-o filename

Output filename

 

--overwrite (yes |no)

Overwrite output file or not

 

-p

Change passphrase (with -P and -N)

 

-P passphrase

Specify old passphrase (with -p)

-P

Use empty passphrase

 

-q

Quiet: suppress progress indicator

 

Get SSH, The Secure Shell: The Definitive Guide, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.