Py学习  »  分享发现

ubuntu禁止root远程登录

Py站长 • 8 年前 • 2105 次点击  

Edit the file /etc/ssh/sshd_config

Next locate this line “PermitRootLogin yes” by entering this on your vi or vim editor

:/PermitRootLogin yes

and change it to this:

PermitRootLogin no

and save the file

then

/etc/init.d/ssh restart
Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/1467
 
2105 次点击