In this case, you need to check whether the value of PasswordAuthentication in the sshd_config file is correct.
1. Log in to the local server as the root user.
2. Right-click in the blank on the desktop
and choose Open in Terminal from the shortcut menu. The
command line window is displayed.
3. Run the following command to check whether
the configuration is correct.
cat /etc/ssh/sshd_config
Check the value of PasswordAuthentication.
·
If the value is yes, the configuration is
correct. Contact technical support.
·
If the value is no, the configuration is
incorrect. Go to the next step.
4. Run the following command to stop the
current SSH service:
service sshd stop
Shutting down SSH
daemon done
5. Open and edit the /etc/ssh/sshd_config file.
Change the value of PasswordAuthentication from no to yes.
vi /etc/ssh/sshd_config
PasswordAuthentication yes
After the value is changed, press Esc to
exit from the edit state. Then run the following command to save and close the
file.
:wq
6. Run the following command to start the SSH
service.
service sshd start
Starting SSH
daemon
done