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