Problems with authorization

Forum / NoMachine for Windows / Problems with authorization

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45825
    RedCat
    Participant

    It is not possible to log in to the NoMachine server (Windows 10 x64) from the client, too, Windows 10 x64. On the computer where the server is installed, a system user without a password, so I tried to enable authorization with a key first: I made ssh-keygen -t rsa -b 4096, tried to generate keys both with and without a password, threw the key into the folder C:/Users /{MyUser}/.nx/config while renaming the key file from id_rsa.pub in authorized.crt followed by server restart. When the client tries to connect, a window pops up asking for a username and password, and no password is accepted (even if the key is not password protected) . Then I enabled the Enable User DB 1 and EnablePasswordDB 1 parameters in the configuration, created the user nxserver –useradd {MyUser}, entered the password when requested, and as a result, an error of authentication is issued on the client side by both password and key, how do I fix this problem? The system password cannot be enabled on the server side.

    #46101
    Britgirl
    Keymaster

    Did you add the private key in the player as well? The last section of this article
    https://kb.nomachine.com/AR02L00785

    1. Launch the NoMachine User Interface from Programs menu or Applications and right click on a connection. Choose ‘Edit connection’  to access connection settings.

    2. Be sure that NX is the selected protocol in the drop-down menu.

    3. Go to Configuration panel and choose ‘Use key-based authentication with a key you provide’ and click on Modify.

    4. Select the private key and check ‘Import the private key to connection file’ if you want to save it for that session.

    5. Back to the previous panel and click on Connect

    The client will prompt you for username and passphrase.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic was marked as solved, you can't post.