0

I want to set PubkeyAuthentication no in /etc/ssh/sshd_config, but someone should be excluded, i.e: John

Gryu
  • 7,559
  • 9
  • 33
  • 52
stack
  • 103

1 Answers1

1

Add something like this to your sshd_config:

Match User John
    PubkeyAuthentication yes

Don't forget to sudo systemctl reload sshd

BulletBob
  • 1,780