Linux禁用远程root登录 编辑sshd服务的配置文件vi /etc/ssh/sshd_config找到下面这行:把值改为yes(允许)或no(不允许)PermitRootLogin yesservice sshd restart