SSH-KEYGEN2(1) SSH2 SSH-KEYGEN2(1)
NAME
ssh-keygen2 - authentication key pair generation
SYNOPSIS
ssh-keygen2 [-b bits] [-t key_algorithm] [ -c com
ment_string] [ -e file] [ -p passphrase] [ -P ] [ -\? ] [
-h ] [ -q ] [ -1 file] [ -i ] [ -V ] [ -r ] [ -F file]
[key1 key2 ...]
DESCRIPTION
ssh-keygen2 generates and manages authentication keys for
ssh2(1). Normally each user wishing to use ssh2 with pub
lic key authentication runs this to create authentication
keys. Additionally, the system administrator may use this
to generate host keys for sshd2(8).
OPTIONS
-b bits
Length of the key in bits, for example 1024 bits.
-t key_algorithm
The algorithm used in key generation. Currently
only DSS (Digital Signature Standard) is supported.
(in some distributions, RSA is, too)
-c comment_string
Specify the key's comment string.
-e file
Edit the specified key. Makes ssh-keygen2 interac
tive. You can change the key's passphrase or com
ment.
-p passphrase
Specify the passphrase used.
-P Specify that the key will be saved with an empty
passphrase.
-h | -\?
Print a short summary of ssh-keygen2 commands.
-q Hide the progress indicator.
-1 file
Convert key from ssh1 format to ssh2 format. (not
yet implemented)
-i Display (all) information about a key. (not yet
implemented)
-V Print version string and exit.
-r Stir in data from stdin to the random pool.
-F file
Dump fingerprint of given publickey. The finger
print is given in the ingenious Bubble Babble for
mat, which makes the fingerprint looks like a
string of "real" words (more easy to remember).
FILES
$HOME/.ssh2/random_seed
Used for seeding the random number generator. This
file should not be readable 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_KEYTYPE_KEYLEN_X
Private authentication keys.
$HOME/.ssh2/id_KEYTYPE_KEYLEN_X.pub
Public authentication keys.
/etc/ssh2/hostkey
/etc/ssh2/hostkey.pub
Private and public sshd2(8) host keys.
AUTHORS
SSH Communications Security Corp
For more information, see http://www.ssh.com.
SEE ALSO
ssh2(1), sshd2(8), ssh-agent2(1), ssh-add2(1)
SSH2 March 22, 2000 SSH-KEYGEN2(1)