skip book previous and next navigation links
go up to top of book: HP TCP/IP Services for OpenVMS Guide to SSH HP TCP/IP Services for OpenVMS Guide to SSH
go to beginning of chapter: SSH Command Reference SSH Command Reference
go to previous page: Remote Login and Command Execution with the SSH Command Remote Login and Command Execution with the SSH Command
go to next page: Using the SSH_ADD UtilityUsing the SSH_ADD Utility
end of book navigation links

Using the SSH_KEYGEN Utility 



SSH_KEYGEN is the key-pair generation utility that generates and manages authentication keys for SSH. Users who need to use SSH with public-key authentication can run this utility to create authentication keys. The system administrator can also use this utility to generate host keys.

Command Synopsis 

SSH_KEYGEN [-b key-number] [-t key_algorithm] [-c comment_string] [-e file] [-p passphrase] [-P ] [-h ] [-q] [-1 file] [-i file] [-D file] [-B number] [-V] [-r file] [-F file] [key1 key2...]

Parameters 

The [key1 key2...] parameter specifies the name of one or more keys to generate.

Options

You can use the options listed in SSH_KEYGEN Command Options with the SSH_KEYGEN command.

Table 4   SSH_KEYGEN Command Options
Options Description
-b key-number
Number of the key, in bits. The default is 2048.
-t key-algorithm
Specifies the algorithm used to generate the keys. Specify either DSA or RSA.
-c comment-string
Specifies the key's comment string.
-e file
Edits the comment/passphrase of the key.
-p passphrase
Specifies the passphrase used to protect the key.
-P
Specifies that the key will be saved with an empty passphrase.
-h | -?
Displays a short summary of SSH_KEYGEN options.
-q
Hides the progress indicator.
-D file
Derives the public key from the private key file.
-1
Converts an SSH1 key.
- i file
Loads and displays information on a file.
-B number
The number base for displaying key information. The default is 10.
-V
Displays the version string and exits.
-r file
Randomizes data from a file to a random pool.
-F file
Dumps the fingerprint (a unique identifier) of the key file.


go to previous page: Remote Login and Command Execution with the SSH Command Remote Login and Command Execution with the SSH Command
go to next page: Using the SSH_ADD UtilityUsing the SSH_ADD Utility