Обычно все отключают вход в систему ssh с паролем только. Я спрашиваю об обратной ситуации. sshd_config позволяет отключать аутентификацию с ключами только?
PubkeyAuthentication
Specifies whether public key authentication is allowed. The
default is ``yes''. Note that this option applies to protocol
version 2 only.