Index Index for
Section 1
Index Alphabetical
listing for S
Bottom of page Bottom of
page

ssh-keygen2(1)

NAME

ssh-keygen2, ssh-keygen - On a Secure Shell server, generates the host key pair. On a Secure Shell client, generates the authentication key pair for users who are using public key authentication.

SYNOPSIS

ssh-keygen2 [-b bits] [-t key_algorithm] [-c comment] [-e file] [-p passphrase] [-P] [-h | -\?] [-q] [-l file] [-i] [-V] [-r] [-F file] [key1 key2. . .]

OPTIONS

-b bits Specifies the length of the key in bits; for example, 1024 bits. -t key_algorithm Specifies the algorithm used in key generation. Supported algorithms are Digital Signature Standard (DSS) and Rivest, Shamir, and Adleman (RSA). -c comment Specifies the key's comment string. -e file Edits the specified key. Makes the ssh-keygen2 command interactive. You can change the key's passphrase or comment. -p passphrase Specifies the passphrase used. -P Specifies that the key will be saved with an empty passphrase. -h | -\? Prints a summary of ssh-keygen2 commands. -q Disables warning messages. -1 file Converts key from ssh1 format to ssh2 format. -V Displays version information. -r Includes data from stdin to the random pool. -F file Dumps fingerprint of given public key. The fingerprint is given in the Bubble Babble format, which makes the fingerprint look like a string of words.

DESCRIPTION

On a Secure Shell server, the ssh-keygen2 command generates and manages the host key pair. On a Secure Shell client, the ssh-keygen2 command generates the authentication key pair necessary for public key user authentication. Generating the authentication key pair is only part of the configuration necessary to use public key user authentication. Users can use the ssh- pubkeymgr command to configure public key user authentication, which includes generating the authentication key pair. The ssh-pubkeymgr command prompts the user for information necessary to configure public key user authentication on a Secure Shell client. See Security Administration for more information about Secure Shell host keys and user authentication.

FILES

$HOME/.ssh2/random_seed Used for seeding the random number generator. This file should not be accessible by anyone but the user. This file is created the first time the program is run and is updated every time the program is run. $HOME/.ssh2/id_dsa_1024_a Contains the user's private key. $HOME/.ssh2/id_dsa_1024_a.pub Contains the user's public key. /etc/ssh2/hostkey Contains the private part of the host key. The ssh-keygen2 command creates this file. This file should only be owned by root, readable only by root, and not accessible to others. /etc/ssh2/hostkey.pub Contains the public part of the host key. The ssh-keygen2 command creates this file. This file should be readable by world and writable only by root.

LEGAL NOTICES

SSH is a registered trademark of SSH Communication Security Ltd.

SEE ALSO

Commands: ssh2(1), ssh-add2(1), ssh-agent2(1), ssh-pubkeymgr(1), sshd2(8) Guides: Security Administration

Index Index for
Section 1
Index Alphabetical
listing for S
Top of page Top of
page