略 系统为:centos 7 fox.风
sudo passwd root
sudo vim /etc/ssh/sshd_config
相应的参数修改为
PermitRootLogin yes PasswordAuthentication yes
4.1重启服务器 即可
sudo reboot
4.2重启服务
sudo systemctl restart sshd.service
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。