vnckeygen - generate a secure key for encrypted VNC sessions
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.
accepts the following command-line options:
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.
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.
Save the generated key to
Generate a private key of length
vncviewer and vncserver
will automatically generate a secure key when run by a user that does
not already have one. However, you will need to run
explicitly if you need to run
Xvnc or x0vncserver.
Encrypted connections (using the RA2 and RA2ne security types) are not
possible if no private key exists.
The secure key.