# vim /etc/ssh/sshd_config
修改:
#PasswordAuthentication yes |
为:
PasswordAuthentication yes |
修改:
PermitRootLogin prohibit-password |
为:
PermitRootLogin yes |
接下来需要重新启动ssh。
# service sshd restart
# vim /etc/ssh/sshd_config
修改:
#PasswordAuthentication yes |
为:
PasswordAuthentication yes |
修改:
PermitRootLogin prohibit-password |
为:
PermitRootLogin yes |
接下来需要重新启动ssh。
# service sshd restart