
Quiero establecerme PubkeyAuthentication no
, /etc/ssh/sshd_config
pero alguien debería ser excluido, por ejemplo: John
Respuesta1
Agrega algo como esto a tu sshd_config
:
Match User John
PubkeyAuthentication yes
No olvidessudo systemctl reload sshd