![NOMACHINE D-811_002-NXS-SAG Скачать руководство пользователя страница 15](http://html1.mh-extra.com/html/nomachine/d-811_002-nxs-sag/d-811_002-nxs-sag_administrators-manual_1699943015.webp)
NX Server System Administrator’s Guide
Prepared by:
Silvia Regis
N°:
D-811_002-NXS-SAG
Approved by:
Sarah Dryell
Last modified:
2015-05-25
Amended:
Generating a new DSA key-pair
Login as root on on the NX server host machine and run:
/usr/NX/scripts/setup/nxserver --keygen
Distributing the new SSH private key to the clients
Change the ownership and permissions on the authorized_keys file. Depending on which O.S.
your NX is running on, you may need to execute:
chown nx:root /usr/NX/home/nx/.ssh/authorized_keys2 chmod 0644 /usr/NX/home/n
x/.ssh/authorized_keys2 Or: chown nx:root /usr/NX/home/nx/.ssh/authorized_ke
ys chmod 0644 /usr/NX/home/nx/.ssh/authorized_keys
Change the ownership and permissions on the following file.
chown nx:root /usr/NX/home/nx/.ssh/default.id_dsa.pub chmod 0644 /usr/NX/home
/nx/.ssh/default.id_dsa.pub
Distribute the private key from the newly generated key pair located in the file:
/usr/NX/share/keys/default.id_dsa.key
Once the new key has been distributed to clients, place it under the subdirectory
'share/keys' of the NX Client installation tree reserved for this purpose.
When the key has been placed in the above location, use the key management facilities provided
by the NX Client GUI in the 'General' tab of the session configuration window, click on the 'Key'
button and choose Import to import the new key by navigating to the appropriate directory above.
Click Save to save your changes.
Important
By renaming the new key uploaded on the client to: server.id_dsa.key the new key will be
used as the default key for all NX sessions (except those sessions that have been previously
configured to use a specific key).
Updating the NX Server Manager configuration
Page 15 of 19