编辑ssh的配置文件,命令:vi /etc/ssh/sshd_config
在Authentication部分,注释掉“PermitRootLogin without-password”
在Authentication部分,添加“PermitRootLogin yes”
然后命令:service ssh restart
编辑ssh的配置文件,命令:vi /etc/ssh/sshd_config
在Authentication部分,注释掉“PermitRootLogin without-password”
在Authentication部分,添加“PermitRootLogin yes”
然后命令:service ssh restart