I have the following settings on my Ubuntu server:
sudo nano /etc/ssh/sshd_config
PasswordAuthentication yes
KbdInteractiveAuthentication yes
then
sudo systemctl restart ssh.service
However, when a client runs ssh user@server_ip
, the server still demands an SSH key and does not ask for a password.
How can I diagnose this issue?
Is there a way to check the actual settings in effect on the server after the restart?
Is there a way to find out why the user cannot use a password?