禁止root远程登录 Linux禁止root远程登录ssh的修改vi /etc/ssh/sshd_config将默认的#PermitRootLogin yes去注释改为PermitRootLogin noservice sshd restart; 来自为知笔记(Wiz) 学如逆水行舟,不进则退。