The client has disconnected from the server. Reason:Unable to authenticate using any of the configured authentication methods.
即无法进行身份验证
解决方法:
# 查看ssh配置
cat /etc/ssh/sshd_config
# 修改ssh配置
vim /etc/ssh/sshd_config
找到以下两个代码:
PermitRootLogin yes
PasswordAuthentication yes
no改为yes,并取消注释