第一步:使用ssh客户端登录阿里云服务器 第二步:执行命令vi /etc/ssh/sshd_config 如果有PasswordAuthentication则设置为yes,否则新增PasswordAuthentication设置为true