VShell Server for UNIX

man pages

VKEYGEN

Section: User Commands (1)
Updated: Version 7.0

 

NAME

vkeygen - VanDyke Software key generation program  

SYNOPSIS

vkeygen [options]  

DESCRIPTION

vkeygen is a program that generates public and private keys.  

OPTIONS

Command-line options are described below.
-b bits
The key's length in bits (default value is 1024).
-c comment
Specifies the key's comment.
-f filename
Specifies the key's filename (the default filename is "id_dsa_<bits>" (e.g., "id_dsa_1024") -- a matching "id_dsa_<bits>.pub" will also be created). If you have specified an ssh-rsa public-key type, the default filename will be "id_rsa_<bits>".
-N phrase
New passphrase.
-p
Changes the passphrase.
-P phrase
Old passphrase.
-q
Quiets (suppresses) screen output.
-t type
Specifies the type of public key, either ssh-dss or ssh-rsa (ssh-dss is the default).
--test
Tests the private key.
-y
Exports public key portion of the private key.
 

EXAMPLE USAGE

The following are examples of how vkeygen can be used.
Generate new key pair
The example below will generate a new key pair with the name "keyfile".
   vkeygen -b 2048 -f ~/keyfile -N "P4$$phr$s3"
Test new key
This example shows you how to test a new key.
   vkeygen --test -f /home/user/keyfile
After you have entered the above command string, you will be prompted for your passphrase and, if the new key is valid, the result should be an "OK" response.
Change passphrase interactively
The string shown below will allow you to change your passphrase interactively.
   vkeygen -p -f /home/user/keyfile
After entering the command string, you will be prompted for your current passphrase.
If the passphrase you enter is incorrect, you will be prompted to reenter. Note that passphrases are case sensitive; be sure that your CAPS LOCK is not on.
Once your passphrase is accepted, you will be prompted for a new passphrase and to confirm that new passphrase.
Change passphrase non-interactively
The string shown below will allow you to change your passphrase without having to answer prompts.
   vkeygen -f ~/keyfile -p -N P4$$phr4s3 -P qwerty
 

FILES

The following are the locations of data files.
Public key files
The directory of these files is specified in the vshelld_config file. By default, the location is $HOME/.vshell/publickey. Note: To find an acceptable public key match, vshelld (VShell(R) server for UNIX) will only look at files in the public key directory that end in .pub or that are named "authorized_keys". vshelld will not check those files with names that begin with a period (.). For example, file.pub would be checked to see if it contains a valid key, where as, .x.pub would not.
 

SEE ALSO

vcp(1), vpka(1), vsftp(1), vsh(1), vshelld(8), vshelld_config(5)

 

COPYRIGHT

Copyright (C) 1995 - VanDyke Software, Inc.

VanDyke Software is a trademark of VanDyke Software, Inc.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE USAGE
FILES
SEE ALSO
COPYRIGHT