Ubuntu 18.04允许root登录

Ubuntu 18.04允许root登录:

vi /etc/ssh/sshd_config

PermitRootLogin yes (默认为#PermitRootLogin prohibit-password)
:wq

service ssh restart

猜你喜欢

转载自blog.51cto.com/yangzhiming/2112418