1)vi /etc/ssh/sshd_config,将PermitRootLogin的值改成yes,并保存

PermitRootLogin yes

2)service sshd restart

转载于:https://blog.51cto.com/dnuser/2043591

Logo

更多推荐