打开sshd配置文件
vim /etc/ssh/sshd_config 在最后面增加一行 :
PermitRootLogin without-password
保存配置文件后重启sshd服务
service sshd restart
转载于:https://blog.51cto.com/xiongrc/1788279
打开sshd配置文件
vim /etc/ssh/sshd_config 在最后面增加一行 :
PermitRootLogin without-password
保存配置文件后重启sshd服务
service sshd restart
转载于:https://blog.51cto.com/xiongrc/1788279