When trying to set up SSH key auth on Fedora 34, the following shows up in nxserver.log when attempting authentication:
52501 52501 2021-08-16 12:43:49 820.430 NXSERVER WARNING! Process '/usr/NX/bin/nxexec --getkey --user aurelia' with pid '52540/52540' finished with exit code 1 after 0,004 seconds.
52501 52501 2021-08-16 12:43:49 820.874 NXSERVER ERROR! Authentication with 'NX-private-key' from host '100.65.34.1' failed. Error is 'Public key not recognized'.
Output of nxexec –getkey when run from a shell is:
$ doas -u nx /usr/NX/bin/nxexec --getkey --user aurelia
59957 59957 12:59:48 958 main: WARNING! User 'aurelia' unable to read file.
I have attempted to setenforce 0
and repeat, but it doesn’t seem to be SELinux related.
Version:
$ doas -u nx /usr/NX/bin/nxserver --version
NoMachine - Version 7.6.2