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 ] [ -l file]
[ -o output_file] [ -v ] [ -h ] [ -\? ] [ -q ] [ -r ] [
-i ] [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 specified key. Makes ssh-keygen2 interactive.
You can change the key's passphrase or comment.
-p passphrase
Specify the passphrase used.
-P Specify that key will be saved with an empty
passphrase.
-l file
Convert key from ssh1 format to ssh2 format.
-o output_file
Specify the output filename used.
-v Print version string and exit.
-h | -\?
Print a short summary of ssh-keygen2 commands.
SSH2 June 30, 1998 1
SSH-KEYGEN2(1) SSH2 SSH-KEYGEN2(1)
-q Hide the progress indicator.
-r Stir in data from stdin to the random pool.
-i Display (all) information about a key. (not yet
implemented)
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.
$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 Oy
For more information, see http://www.ssh.fi.
SEE ALSO
ssh2(1), sshd2(8), ssh-agent2(1), ssh-add2(1)
SSH2 June 30, 1998 2