linux 设置root可以远程登陆

编辑/etc/ssh/sshd_config

设置

PermitRootLogin yes

重启ssh 服务

ubuntu

service ssh start