SSH key auth and google MFA

Forum / NoMachine for Linux / SSH key auth and google MFA

  • This topic has 1 reply, 2 voices, and was last updated 1 year ago by Cato.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #44875


    I would like to get NoMachine working with SSHKey and google-authenticator, but it seems like nxserver is not reading/etc/pam.d/nx when authenticating using key authentication.

    Verification code is being asked when trying to login using ssh, but not when connecting from Windows to RHEL8 (GNOME).

    I added the following line to /etc/pam.d/nx end of file:

    auth       required


    Key authentication works perfectly, but not when I want to add MFA.

    Anyone tips or suggestions?




    Hello mcxmar,

    With NX protocol it’s only possible to perform PAM-based two-factor authentication. This means that you can only combine authentication methods supported by PAM modules, usually password + authentication code. Here is an article providing examples of two-factor configuration for NX protocol:

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

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