How to disable public key authentication in SSH
SSH
in most system by default allow public key login. You can disable it with these simple steps if you somehow need to;
-
Set
PubkeyAuthentication
tono
in/etc/ssh/sshd_config
PubkeyAuthentication no
-
Reload or restart
SSH