SSH connection error – no supported authentication methods available (server sent keyboard-interactive)

Edit /etc/ssh/sshd_config and set the parameter PAMAuthenticationViaKBDInt to yes

# To disable tunneled clear text passwords, change PasswordAuthentication to no.
PasswordAuthentication yes

# Use PAM via keyboard interactive method for authentication.
# Depending on the setup of pam.conf(4) this may allow tunneled clear text
# passwords even when PasswordAuthentication is set to no. This is dependent
# on what the individual modules request and is out of the control of sshd
# or the protocol.
#PAMAuthenticationViaKBDInt no
PAMAuthenticationViaKBDInt yes

%d bloggers like this: