修改/etc/ssh/sshd_config兩項參數:
PasswordAuthentication no 修改爲: PasswordAuthentication yes
PermitRootLogin no 修改爲:PermitRootLogin yes //找不到這項就在文件尾部加上去
修改/etc/ssh/sshd_config兩項參數:
PasswordAuthentication no 修改爲: PasswordAuthentication yes
PermitRootLogin no 修改爲:PermitRootLogin yes //找不到這項就在文件尾部加上去