Tencent says: server authentication fails, make sure that the password authentication server is enabled and the account password correctly

description

Tencent cloud server (centos 7.0) suddenly can not pass password,
can ping

Restart; configure security group; ports are not used

solve

Add in key instances. Not previously configured, Mr. Cheng key, then bind. (First off before binding), then you can log in through the normal key.

Add key png

Follow-up

PasswordAuthentication item for future can also login passwords, modify / etc / ssh / sshd_config is yes, restart the service ($ service sshd restart)

Note also passwd root to change the root password
otherwise default password

# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no
PasswordAuthentication yes

Guess you like

Origin www.cnblogs.com/lqerio/p/12549709.html