1 Authentication method is not supported
For example, when the client logs in, the prompt is as follows:
[huzw@CentOS-6-37 ~]$ ssh [email protected]
Permission denied (publickey,keyboard-interactive).
Solution:
Set this configuration of the sshd configuration file (sshd_config): PasswordAuthentication yes
Then restart the service: service sshd restart
2 The login password of ordinary users is always wrong, and sshd starts an error
sshd startup error:
Unsupported option GSSAPIAuthentication
Unsupported option GSSAPICleanupCredentials
Solution:
Unregister the following configuration of the sshd configuration file (sshd_config):
#GSSAPIAuthentication yes
#GSSAPICleanupCredentials yes
#UsePAM yes
Then restart the service: service sshd restart