Skip to Main Content
SSH, The Secure Shell: The Definitive Guide, 2nd Edition
book

SSH, The Secure Shell: The Definitive Guide, 2nd Edition

by Daniel J. Barrett, Richard E. Silverman, Robert G. Byrnes
May 2005
Intermediate to advanced content levelIntermediate to advanced
666 pages
21h 5m
English
O'Reilly Media, Inc.
Book available
Content preview from SSH, The Secure Shell: The Definitive Guide, 2nd Edition

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

 

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Linux Security and Hardening - Third Edition

Mastering Linux Security and Hardening - Third Edition

Donald A. Tevault
Network Security with OpenSSL

Network Security with OpenSSL

John Viega, Matt Messier, Pravir Chandra

Publisher Resources

ISBN: 0596008953Errata Page