一、表象
二、分析
三、解决
vim /etc/ssh/sshd_config
# 增加如下修改:
PasswordAuthentication yes
# 之后重启
systemctl restart sshd
# 注意:如果你喜欢用root用户登入的话,要确保
vim /etc/ssh/sshd_config
PermitRootLogin yes
# 之后重启
systemctl restart sshd
vim /etc/ssh/sshd_config
# 增加如下修改:
PasswordAuthentication yes
# 之后重启
systemctl restart sshd
# 注意:如果你喜欢用root用户登入的话,要确保
vim /etc/ssh/sshd_config
PermitRootLogin yes
# 之后重启
systemctl restart sshd