MagikMarkerz

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • MagikMarkerz
    Participant

    I can share the key-pair if that would be beneficial, but I’d prefer a more discrete way of doing so, like email.  Let me know if you need it.

    MagikMarkerz
    Participant

    Okay, here’s what I did:

    1. Delete and recreate the ~/.nx/config/authorized.crt file so that no old keys could potentially get in the way.
    2. Recreated a new key for the tablet and sent it over to the ~/.ssh/authorized_keys file on the Raspberry Pi using Termius.
    3. Disabled password authentication in the sshd_config for the RasPi.
    4. Connected to the RasPi from the tablet to ensure that the key worked.
    5. Once confirmed that the private/public keys were working, I copied the tablet’s public key from the authorized_keys file to the authorized.crt file.
    6. Copied the private key from Termius and placed it in a file then saved it into a folder on the tablet.
    7. Adjusted the /usr/NX/etc/server.cfg file to allow both NX keys and NX password.
    8. Restarted the NX Server.
    9. Connected to the RasPi using username/password to ensure a connection could be established.
    10. Disconnected and then tried reconnecting using key-based authentication and selecting the file that I made earlier with the private key (Note: Import the private key to the connection file has been set to OFF).
    11. Received the following error: Authentication failed, please try again.
    12. Connected my tablet to my Macbook and followed your instructions to copy/compress the nx folder.  I’ve attached that compressed file to this response.

    Hopefully that gives you everything that you’re looking for.  Please let me know if there’s anything else you need.

    Thanks for the help.

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