修改服务器为Root直接登录

修改sshd配置文件

  vim /etc/ssh/sshd_config

  将PermitRootLogin no改为PermitRootLogin yes

  重启sshd服务:service sshd restart。

 

重启mysql/vsftpd:都是service XXX restart

posted @ 2020-01-09 13:54  归零19  阅读(266)  评论(0编辑  收藏  举报