SSH Communications Security
Index
SSH Home page
Previous Next Up [Contents] [Index]

    Introduction >>
    Configuration >>
    Connecting >>
    Terminal Window >>
    File Transfer >>
    Toolbar Reference >>
    Menu Reference >>
    Advanced Information >>
    Troubleshooting >>
    Appendices >>
        SSH2
        SCP2 >>
        SFTP2 >>
        SSH-keygen2
        Frequently Asked Questions >>

SSH-keygen2

SSH-KEYGEN2.EXE is a Windows port of the UNIX ssh2 key generation tool (ssh-keygen2).

The ssh-keygen2 is a tool that generates and manages authentication keys for ssh2. Each user wishing to use ssh2 with public-key authentication can run this tool to create authentication keys. Additionally, the system administrator may use this to generate host keys for the SSH Secure Shell server.

(Please note that PKI and PKCS #11 support is only available in commercial distributions of SSH Secure Shell.)

SYNOPSIS

  ssh-keygen2 [-b bits] [-t dsa|rsa] [-c comment_string] 
  [-e file] [-p passphrase] [-P] [-h] [-?] [-q] [-1 file] [-i] 
  [-D file] [-B number] [-V] [-r file] [-x file] [-k file]
  [-7 file] [-F file] [key1 key2 ...]


OPTIONS

  -b bits
         Length of the key in bits, for example 1024 bits.

  -t dsa | rsa
         Choose the type of the key. Valid options are 
         dsa and rsa. 

  -c comment_string
         Specify the key's comment string.

  -e file
         Edit the specified key. Makes ssh-keygen2 interactive.  
         You can change the key's passphrase or comment.

  -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.

  -i file 
         Load and display information on 'file'.

  -D file 
         Derive the public key from the private key 'file'.

  -B number
         The number base for displaying key information (default 10).

  -V     Print version string and exit.

  -r file
         Stir in data from file to the random pool.

  -x file
         Convert private key from X.509 format to ssh2 format.

  -k file 
         Convert a PKCS #12 file to an ssh2 format certificate
         and private key.

  -7 file
         Extract certificates from a PKCS #7 file.

  -F file
         Dump the fingerprint of a given publickey. The finger-
         print is given in the Bubble Babble format, which
         makes the fingerprint look like a string of "real"
         words (making it easier to pronounce).

Previous Next Up [Contents] [Index]


[ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]

Copyright © 2001 SSH Communications Security Corp
All rights reserved.
Copyright Notice