NoMachine Support

Your questions answered

Knowledge Base

Searching in: Feature Requests
Filter the search results
Target version:
Products:
Status:
Last update:
Searching in: Feature Requests
ID: FR07N03139
Added on:  2016-07-29
Last update: 2019-02-21
Priority: High
Products: NoMachine Server
Target: 6
Status:  Implemented
Storing the public key for NX authentication in a custom directory

By default the public key to authenticate the user when connecting by NX protocol is stored in the user's home/.nx/config/authorized.crt file.

In some specific cases it may be necessary to store it in a different place, for example when home directories are encrypted, or auto-mount on login is done when user's home doesn't exist before the user logs-in.

Two new server configuration keys are needed to allow to define a different location for this key than the default one.

#
# Specify the base path to the authorized keys file for connections
# by NX protocol. By default it's the user's home directory. If a
# custom path is specified, the server will add the user's name to
# the base path, e.g. /tmp/nxtest01 on Linux. This key has to be used
# in conjunction with NXAuthorizedRelativePath.
#
#NXAuthorizedBasePath ""

#
# Specify the relative path to the authorized keys file and the file
# name, by default authorized.crt. The base path to this file is
# defined in NXAuthorizedBasePath.
#
#NXAuthorizedRelativePath ".nx/config/authorized.crt"