Cannot use 2fa with ssh-key login

Forums / NoMachine for Linux / Cannot use 2fa with ssh-key login

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26627
    joshstillerman
    Participant

    We have linux servers that we would like to restrict to ssh-key AND two factor.  We are using DUO for the 2nd factor.  This works fine with password, but we can not come up with a nomachine  / pam / ssh configuration which uses ssh-keys.

    This is not a problem for machines that clients ssh to directly – we have them set for DUO + ssh-key.

    #26676
    Cato
    Contributor

    Hello joshstillerman,

    Two-factor authentication with NoMachine can only be achieved through PAM configuration. This usually means password + authentication code. Currently, it’s not possible to combine PAM with public key authentication.

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

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