How to setup key (or cert) auth on Mac OS host?

Forum / NoMachine for Mac / How to setup key (or cert) auth on Mac OS host?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #49091
    coxy
    Participant

    I’m trying to follow this KB article so I can use a key rather than a password to connect: https://kb.nomachine.com/AR02L00785

    I’m having trouble adjusting server.cfg to set the AcceptedAuthenticationMethods to private key only, because this file is inside /Applications and can’t be modified. (full path: /Applications/NoMachine.app/Contents/Frameworks/etc/server.cfg )

    The auth methods setting does not appear to be exposed in the GUI options.

    How can I set it?

    #49118
    Britgirl
    Keymaster

    NoMachine server requires admin permissions to be able to edit the settings. Check that you have admin rights for the username that you are logged in with. Go in to Users and Groups in your Mac settings and select the username/account that you are logged in with. Can you see a toggle button which is enabled next to “Allow this user to administer this computer”?

    #49121
    coxy
    Participant

    I am an admin and was trying to edit the file using sudo, which I think is the problem.

    Using Finder, I was able to give myself write permissions on the etc folder and also server.cfg and then I could edit that file using TextEdit.

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

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