Unable to connect to NoMachine on Linux VPS w/key

Forum / NoMachine for Linux / Unable to connect to NoMachine on Linux VPS w/key

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14284
    RaithZ
    Participant

    I have a fresh VM on MS Azure running Centos 7.3 and NoMachine 5.  Installed NoMachine fine, copied .ssh/authorized_keys to .nx/config/authorized.crt but I am not able to connect from my Windows machine.  Here is what little shows up in the logs for the last several attempts:

    2017-04-06 21:42:42 860.015  1587 NXSERVER WARNING! Cannot write to FD#8.
    2017-04-06 21:42:42 860.383  1587 NXSERVER WARNING! Error is: 32, ‘Broken pipe’.
    2017-04-06 21:42:42 860.756  1587 NXSERVER ERROR! Sending error message ‘NX> 500 ERROR: Cannot accept public key. ‘
    2017-04-06 21:42:48 935.770  1602 NXSERVER WARNING! Cannot write to FD#8.
    2017-04-06 21:42:48 935.932  1602 NXSERVER WARNING! Error is: 32, ‘Broken pipe’.
    2017-04-06 21:42:48 936.267  1602 NXSERVER ERROR! Sending error message ‘NX> 500 ERROR: Cannot accept public key. ‘
    2017-04-06 21:46:38 370.421  1615 NXSERVER ERROR! Sending error message ‘NX> 500 ERROR: Cannot accept public key. ‘
    2017-04-06 21:46:59 353.036  1674 NXSERVER WARNING! Cannot write to FD#8.
    2017-04-06 21:46:59 353.324  1674 NXSERVER WARNING! Error is: 32, ‘Broken pipe’.
    2017-04-06 21:46:59 353.617  1674 NXSERVER ERROR! Sending error message ‘NX> 500 ERROR: Cannot accept public key. ‘
    2017-04-06 21:50:54 780.021  1687 NXSERVER ERROR! Sending error message ‘NX> 500 ERROR: Cannot accept public key. ‘

    I followed instructions here: https://www.nomachine.com/accessing-your-remote-linux-desktop-on-amazon-elastic-compute-cloud-via-NoMachine (skipping the amazon specific part but doing the equivalent on Azure)

    Also made sure I covered the steps here:  https://www.nomachine.com/AR02L00785

     

    Any suggestions?  I have the GNOME Desktop environment installed and have tried restarting the VM post installation.

    #14304
    RaithZ
    Participant

    This ended up being an easy issue to fix.. once I figured out that the private key I was using was formated specific to putty, I was able to use puttygen.exe to save it into an OpenSSH key format and then I was able to connect without issue.

    #14374
    Britgirl
    Keymaster

    Ok, thanks for letting us know.

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

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