编辑ssh 配置文件
vi /etc/ssh/sshd_config
修改关键配置
PermitRootLogin no
重启 ssh 服务
service /etc/init.d/ssh restart
Done.
comments powered by Disqusvi /etc/ssh/sshd_config
PermitRootLogin no
service /etc/init.d/ssh restart
Done.
comments powered by Disqus