I just set up authentication with SSH keys, and I encountered the following problem.
I added this in /etc/ssh/sshd_config:
When I restarted sshd, this error popped up:
Is it possible to specify some users to use SSH keys while the others use PAM authentication?
I added this in /etc/ssh/sshd_config:
Code:
Match User dennylin93
UsePAM no
When I restarted sshd, this error popped up:
Code:
/etc/ssh/sshd_config line 128: Directive 'UsePAM' is not allowed within a Match block
Is it possible to specify some users to use SSH keys while the others use PAM authentication?