编辑 /etc/ssh/sshd_config 文件 将PasswordAuthentication 的值改成 yes服务器
而后重启ssh 服务 进入到 /etc/init.d 文件夹内 执行 ./ssh restartssh
接着就能够在远程用用户名和密码登陆服务器了 rest