Public key authorization problem

Forum / NoMachine for Linux / Public key authorization problem

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6547
    kmil
    Participant

    Hello,

    I have a free version NoMachine product.

    I’m trying to connect a ubuntu machine. This is my infrastructure:

    CLIENT:

    • Ubuntu 14.04
    • NoMachine versión 4.4.12

    SERVER:

    • Ubuntu 14.04
    • NoMachine version 4.4.12

    I configured my client for connect with private key.

    I put in the server the client public key in this directory

    ~/.nx/config/authorized.crt

    When I try connect I can see this error:
    The session negotiation failed.
    Error: Cannot accept public key

    In the server log appear this errors:

    2015-03-09 12:11:03 020.489 10182 NXSERVER nxDefaultExitCodeHandler: process with pid 10197 just died with exit code ‘1’.
    2015-03-09 12:11:03 020.599 10182 NXSERVER NXParser: checkCanRead has: FD#24
    2015-03-09 12:11:03 020.741 10182 NXSERVER NXParser: EOF on FD#24
    2015-03-09 12:11:03 020.927 10182 NXSERVER NXClose FD#24 from Common::NXParser::removeAndCloseHandle.
    2015-03-09 12:11:03 021.036 10182 NXSERVER NXParser: FD#24 was closed.
    2015-03-09 12:11:03 021.226 10182 NXSERVER NXRunCommand: process ‘10197’ exit status was ‘1’
    2015-03-09 12:11:03 021.326 10182 NXSERVER NXRunCommand: process ‘10197’ stderr was ”
    2015-03-09 12:11:03 021.412 10182 NXSERVER NXRunCommand: return: 1
    2015-03-09 12:11:03 021.806 10182 NXSERVER _getSupportedKeys nxexec exit code [1], output [], error [NX> 500 Error: Cannot retrieve user home directory.\n]
    2015-03-09 12:11:03 022.006 10182 NXSERVER __getSupportedKeys return:0
    2015-03-09 12:11:03 022.203 10182 NXSERVER Client public key not recognized.
    2015-03-09 12:11:03 022.440 10182 NXSERVER Client request not accepted.
    2015-03-09 12:11:03 022.916 10182 NXSERVER Handler exit.
    2015-03-09 12:11:03 023.259 10182 NXSERVER Checking ignore message for command ”.
    2015-03-09 12:11:03 023.436 10182 NXSERVER Dont have to send ignore message.
    2015-03-09 12:11:03 023.709 10182 NXSERVER Sent response message ‘NX> 999 Bye.’
    2015-03-09 12:11:03 023.940 10182 NXSERVER Connection to client still open.
    2015-03-09 12:11:03 024.177 10182 NXSERVER Closing client connection.
    2015-03-09 12:11:03 024.380 10182 NXSERVER Free EncryptorContext
    2015-03-09 12:11:03 024.570 10182 NXSERVER NXPL::NXEncryptorFreeContext return .
    2015-03-09 12:11:03 051.594 10182 NXSERVER NXPL::NXEncryptorDestroy return 1.
    2015-03-09 12:11:03 051.806 10182 NXSERVER NXClose FD#11 from Server::shutdownClientConnectionNXD.
    2015-03-09 12:11:03 052.047 10182 NXSERVER NXClose FD#5 from Server::shutdownClientConnectionNXD.
    2015-03-09 12:11:03 052.364 10182 NXSERVER no user currently logged in
    2015-03-09 12:11:03 052.606 10182 NXSERVER Finalize process.
    2015-03-09 12:11:03 052.812 10182 NXSERVER Connection to client closed.
    2015-03-09 12:11:03 053.110 10182 NXSERVER NXClose FD#3 from NXBegin::finalizeProcess.
    2015-03-09 12:11:03 053.360 10182 NXSERVER NXClose FD#2 from NXBegin::finalizeProcess.

     

    Anyone could help me?? I can’t connect to the remote server.

    Thanks

     

    #6565
    Britgirl
    Keymaster

    Please login (directly on console or via ssh) as the same user you set in NoMachine and execute:
    # bash -c “cd ~${USER} && pwd”

    Then send output to forum[at]nomachine[dot]com making sure you reference the topic.

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

Closed because the user did not provide further feedback. Please notify us if you confirm that it is resolved or open a new topic if you have the same problem.