进入ubuntu 将/etc/ssh/sshd_config中的
PasswordAuthentication no
通过vim编辑器将该参数改成yes,如下
PasswordAuthentication yes
保存,然后重启ssh服务
service ssh restart
进入ubuntu 将/etc/ssh/sshd_config中的
PasswordAuthentication no
通过vim编辑器将该参数改成yes,如下
PasswordAuthentication yes
保存,然后重启ssh服务
service ssh restart