1通过 ssh address连接 1:进去linux 2:修改配置文件信息 vi /etc/ssh/sshd_config 修改 passwordAuthentication no 改为 passwordAuthentication yes 3:重启ssh服务 systemctl restart sshd.service