Fresh install 4.3 – Authentication using NX SSH key-pair failed

Forum / NoMachine for Linux / Fresh install 4.3 – Authentication using NX SSH key-pair failed

  • This topic has 1 reply, 2 voices, and was last updated 10 years ago by zaq.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5775
    jcdole
    Participant

    Hello.

    After fresh install of nomachine 4.3 free version on Linux Opensuse 13.1 ,

    There is still an error during install (refer to : D: TR06J02727 )

    NX> 500 Authentication as user nx using the NX SSH key-pair failed.
    NX> 500 This may be due to the configuration of your SSH server. Please
    NX> 500 ensure that the location and file name of the SSH authorized
    NX> 500 keys is the same in both the SSHD and NX server configuration
    NX> 500 files and that the nx user is listed among the accepted users
    NX> 500 in the SSHD configuration file.
    NX> 161 Enabled service: nxserver.

    server.cfg, and node.cfg does not use the same value for parameter SSHAuthorizedKeys

    After correction all config files (nomachine and ssh) use :
    SSHAuthorizedKeys .ssh/authorized_keys
    But that does not change any thing.

    By the way,
    1°) Which is the public key in /var/NX/nx/.ssh/*.pub is in use for user nx : default.id_dsa.pub  or  restore.id_dsa.pub.
    2°) Where is the private key of user nx, from which the public key in /var/NX/nx/.ssh/*.pub is compare against.

    SSH is running with no problem.. And every authorized user can log in using ssh.

    Previous 3.5 version was running without problems.

    Any help is welcome.

    #5800
    zaq
    Participant

    Hello,

    The free version of NoMachine doesn’t support SSH connections. You should check point 1.3 of the installation guide:

    https://www.nomachine.com/DT09K00056

    TR06J02727 is related to the a very early beta version of NoMachine, which supported the SSH protocol.

    In answer to your questions, when you use a NoMachine product with SSH support then:

    1. In /var/NX/nx/.ssh/known_host is a public key.
    Files: default.id_dsa.pub and restore.id_dsa.pub are only backups.

    2. The privet key of a user nx is in: /usr/NX/share/keys/server.id_dsa.key

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

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