出现”Disconnected:No supported authentication methods available”错误提示?
因为远程服务器禁止使用密码验证功能,你可以通过vi /etc/ssh/sshd_config,找到PasswordAuthentication no改为yes保存重启服务即可。
systemctl restart sshd.service 重启服务才有效。
因为远程服务器禁止使用密码验证功能,你可以通过vi /etc/ssh/sshd_config,找到PasswordAuthentication no改为yes保存重启服务即可。
systemctl restart sshd.service 重启服务才有效。