NAME
vnckeygen - generate a secure key for encrypted VNC sessions
SYNOPSIS
vnckeygen
[-qf]
DESCRIPTION
vnckeygen
generates a secure key and stores it in $HOME/.vnc/private.key. This key is
used by both the server and viewer applications to encrypt VNC sessions when
the RA2 security type is used, or to encrypt passwords when the RA2ne security
type is used.
Generating a secure key is a computationally expensive operation and the
probabilistic techniques used make it impossible to predict how long it will
take. By default, vnckeygen prints an indication of its progress to stdout,
although this can be supressed using the -q option.
OPTIONS
vnckeygen
accepts the following command-line options:
- -f
-
Generate a new secure key even if a valid key already exists. Note that if a
server's secure key is replaced, then any viewers that have previously connected
to it will recognise this and will issue a warning to the user.
- -q
-
Do not display the progress of the key generation. Without this option,
vnckeygen prints a dot (.) for each number it considers for each of the two
secure key components, p and q.
NOTES
vncviewer will automatically generate a secure key when making an encrypted VNC
connection for the first time. However, if Xvnc is run by a user that does not
have a secure key, then connections made using the RA2 and RA2ne security types
will be refused. To avoid this, ensure that vnckeygen is run prior to running
vncserver, x0vncserver or Xvnc.
FILES
- $HOME/.vnc/private.key
-
The secure key.
SEE ALSO
vncserver(1),
vncviewer(1),
vncconfig(1),
vncpasswd(1),
vnclicense(1),
Xvnc(1),
x0vncserver(1)
http://www.realvnc.com
AUTHOR
RealVNC Ltd.